Interface UserProfileService

All Known Implementing Classes:
CacheUserProfileService, CrestUserProfileService

public interface UserProfileService
The UserProfileService is responsible for requesting user profile attributes. Note that only user profile properties that are enabled in Access Management will be available.
  • Method Details

    • getUserProfile

      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.
      Parameters:
      context - The request context.
      username - The username that identifies the user to retrieve the profile attributes for.
      Returns:
      a promise that will be completed with UserProfile or with an ResourceException in case of errors.