public interface UserProfileService
UserProfileService
is responsible for requesting user profile attributes.
Note that only user profile properties that are enabled in Access Management will be available.Modifier and Type | Method and Description |
---|---|
Promise<UserProfile,UserProfileException> |
getUserProfile(Context context,
String username)
Returns a promise that will be completed with an
UserProfile or with an UserProfileException
in case of errors. |
Promise<UserProfile,UserProfileException> getUserProfile(Context context, String username)
UserProfile
or with an UserProfileException
in case of errors.context
- The request context.username
- The username that identifies the user to retrieve the profile attributes for.UserProfile
or with an ResourceException
in case
of errors.Copyright 2011-2017 ForgeRock AS.