HP Anywhere API Reference
getRelatedUsers Method
the collection of contexts in the user activity
Return the users that the app service recommends as participants in the current user activity.
Typically called when users have an activity with context objects and when users have open entry points in the activity.
Inspect the context IDs, types, and metadata in the context object collection to determine whether the context is relevant to the recommended users.
Typical implementation flow:
Syntax
public abstract java.util.Collection<UserProfile> getRelatedUsers( 
   java.util.Collection<BTOContext> context 
)

Parameters

context
the collection of contexts in the user activity

Return Value

Collection of the suggested user profiles. For users defined in the user repository, the user profile is the userId string. For external users, the user profile is an email address.
Exceptions
ExceptionDescription
com.hp.btoaw.integration.service.exception.CustomExceptionException that contains FailureReason enum with failure description
Since
HP Anywhere 10.00
See Also

Reference

AbstractBTOServiceEE Class
AbstractBTOServiceEE Members