Class MyProfileRESTServices

java.lang.Object
org.odpi.openmetadata.viewservices.myprofile.server.MyProfileRESTServices

public class MyProfileRESTServices extends Object
The MyProfileRESTServices provides the server-side implementation of the My Profile Open Metadata View Service (OMVS). This interface provides access to a person's profile, roles and network.
  • Constructor Details

    • MyProfileRESTServices

      public MyProfileRESTServices()
      Default constructor
  • Method Details

    • getMyProfile

      public PersonalProfileResponse getMyProfile(String serverName, String userId)
      Return the profile for this user.
      Parameters:
      serverName - name of the server instances for this request
      userId - userId of the user making the request.
      Returns:
      profile response object or or null or InvalidParameterException the userId is null or invalid or PropertyServerException there is a problem retrieving information from the property server(s) or UserNotAuthorizedException the requesting user is not authorized to issue this request.