Class OrganizationManagement
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.communityprofile.client.OrganizationManagement
-
- All Implemented Interfaces:
OrganizationManagementInterface
public class OrganizationManagement extends Object implements OrganizationManagementInterface
OrganizationManagement is the client used by the Organization Integrator OMIS that is responsible with synchronizing organizational structures, profiles rules and users with open metadata.
-
-
Constructor Summary
Constructors Constructor Description OrganizationManagement(String serverName, String serverPlatformURLRoot)Create a new client with no authentication embedded in the HTTP request.OrganizationManagement(String serverName, String serverPlatformURLRoot, String userId, String password)Create a new client that passes userId and password in each HTTP request.OrganizationManagement(String serverName, String serverPlatformURLRoot, String userId, String password, AuditLog auditLog)Create a new client that passes userId and password in each HTTP request.OrganizationManagement(String serverName, String serverPlatformURLRoot, CommunityProfileRESTClient restClient, int maxPageSize)Create a new client that passes userId and password in each HTTP request.OrganizationManagement(String serverName, String serverPlatformURLRoot, AuditLog auditLog)Create a new client with no authentication embedded in the HTTP request.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaddContactMethod(String userId, String externalSourceGUID, String externalSourceName, String actorProfileGUID, ContactMethodProperties properties)Add a new contact method to the profile.StringcreateActorProfile(String userId, String externalSourceGUID, String externalSourceName, ActorProfileProperties properties, ContributionRecord contributionRecord)Create a definition of a actor profile.StringcreatePersonRole(String userId, String externalSourceGUID, String externalSourceName, PersonRoleProperties properties)Create a definition of a person role.voiddeleteActorProfile(String userId, String externalSourceGUID, String externalSourceName, String actorProfileGUID)Remove the definition of an actor profile.voiddeleteContactMethod(String userId, String externalSourceGUID, String externalSourceName, String contactMethodGUID)Remove an obsolete contact method from the profile.voiddeletePersonRole(String userId, String externalSourceGUID, String externalSourceName, String personRoleGUID)Remove the definition of a person role.List<ActorProfileElement>findActorProfile(String userId, String searchString, int startFrom, int pageSize)Retrieve the list of matching profiles for the search string.List<PersonRoleElement>findPersonRole(String userId, String searchString, int startFrom, int pageSize)Retrieve the list of matching roles for the search string.ActorProfileElementgetActorProfileByGUID(String userId, String actorProfileGUID)Return information about a specific actor profile.List<ActorProfileElement>getActorProfileByName(String userId, String name, int startFrom, int pageSize)Return information about a named actor profile.ActorProfileElementgetActorProfileByUserId(String userId, String actorProfileUserId)Return information about a specific actor profile.List<PersonRoleAppointee>getAppointees(String userId, String personRoleGUID, Date effectiveTime, int startFrom, int pageSize)Return the list of people appointed to a particular role.PersonRoleElementgetPersonRoleByGUID(String userId, String personRoleGUID)Return information about a specific person role.List<PersonRoleElement>getPersonRoleByName(String userId, String name, int startFrom, int pageSize)Return information about a named person role.StringlinkPersonRoleToProfile(String userId, String externalSourceGUID, String externalSourceName, String personRoleGUID, String personProfileGUID, AppointmentProperties properties)Link a person role to a person profile to show that that person is performing the role.voidlinkTeamPlayer(String userId, String externalSourceGUID, String externalSourceName, String teamRoleGUID, String teamProfileGUID, String position, boolean leadershipPosition)Link a team leader person role or team member person role to a team profile.voidlinkTeamsInHierarchy(String userId, String externalSourceGUID, String externalSourceName, String superTeamProfileGUID, String subTeamProfileGUID, boolean delegationEscalationAuthority, Date effectiveFrom, Date effectiveTo)Link two related team/organization actor profiles together as part of a hierarchy.voidunlinkPersonRoleFromProfile(String userId, String externalSourceGUID, String externalSourceName, String appointmentGUID)Remove the link between a person role and a person profile.voidunlinkTeamPlayer(String userId, String externalSourceGUID, String externalSourceName, String teamRoleGUID, String teamProfileGUID, boolean leadershipPosition)Remove the link between a person role and a team profile.voidunlinkTeamsInHierarchy(String userId, String externalSourceGUID, String externalSourceName, String superTeamProfileGUID, String subTeamProfileGUID)Remove the link between two actor profiles in the actor profile hierarchy.voidupdateActorProfile(String userId, String externalSourceGUID, String externalSourceName, String actorProfileGUID, boolean isMergeUpdate, ActorProfileProperties properties, ContributionRecord contributionRecord)Update the definition of an actor profile.voidupdateAppointment(String userId, String externalSourceGUID, String externalSourceName, String appointmentGUID, boolean isMergeUpdate, AppointmentProperties properties)Update the properties for the appointment of a person to a role.voidupdatePersonRole(String userId, String externalSourceGUID, String externalSourceName, String personRoleGUID, boolean isMergeUpdate, PersonRoleProperties properties)Update the definition of a person role.
-
-
-
Constructor Detail
-
OrganizationManagement
public OrganizationManagement(String serverName, String serverPlatformURLRoot) throws InvalidParameterException
Create a new client with no authentication embedded in the HTTP request.- Parameters:
serverName- name of the server to connect toserverPlatformURLRoot- the network address of the server running the OMAS REST servers- Throws:
InvalidParameterException- bad input parameters
-
OrganizationManagement
public OrganizationManagement(String serverName, String serverPlatformURLRoot, AuditLog auditLog) throws InvalidParameterException
Create a new client with no authentication embedded in the HTTP request.- Parameters:
serverName- name of the server to connect toserverPlatformURLRoot- the network address of the server running the OMAS REST serversauditLog- logging destination- Throws:
InvalidParameterException- there is a problem creating the client-side components to issue any REST API calls.
-
OrganizationManagement
public OrganizationManagement(String serverName, String serverPlatformURLRoot, String userId, String password) throws InvalidParameterException
Create a new client that passes userId and password in each HTTP request. This is the userId/password of the calling server. The end user's userId is sent on each request.- Parameters:
serverName- name of the server to connect toserverPlatformURLRoot- the network address of the server running the OMAS REST serversuserId- caller's userId embedded in all HTTP requestspassword- caller's userId embedded in all HTTP requests- Throws:
InvalidParameterException- bad input parameters
-
OrganizationManagement
public OrganizationManagement(String serverName, String serverPlatformURLRoot, String userId, String password, AuditLog auditLog) throws InvalidParameterException
Create a new client that passes userId and password in each HTTP request. This is the userId/password of the calling server. The end user's userId is sent on each request.- Parameters:
serverName- name of the server to connect toserverPlatformURLRoot- the network address of the server running the OMAS REST serversuserId- caller's userId embedded in all HTTP requestspassword- caller's userId embedded in all HTTP requestsauditLog- logging destination- Throws:
InvalidParameterException- bad input parameters
-
OrganizationManagement
public OrganizationManagement(String serverName, String serverPlatformURLRoot, CommunityProfileRESTClient restClient, int maxPageSize) throws InvalidParameterException
Create a new client that passes userId and password in each HTTP request. This is the userId/password of the calling server. The end user's userId is sent on each request.- Parameters:
serverName- name of the server to connect toserverPlatformURLRoot- the network address of the server running the OMAS REST serversrestClient- pre-initialized REST clientmaxPageSize- pre-initialized parameter limit- Throws:
InvalidParameterException- there is a problem with the information about the remote OMAS
-
-
Method Detail
-
createActorProfile
public String createActorProfile(String userId, String externalSourceGUID, String externalSourceName, ActorProfileProperties properties, ContributionRecord contributionRecord) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Create a definition of a actor profile. This could be for the whole organization, a team, a person or a system.- Specified by:
createActorProfilein interfaceOrganizationManagementInterface- Parameters:
userId- calling userexternalSourceGUID- guid of the software server capability entity that represented the external source - null for localexternalSourceName- name of the software server capability entity that represented the external sourceproperties- properties for a actor profilecontributionRecord- optional properties for the contribution record- Returns:
- unique identifier of actor profile
- Throws:
InvalidParameterException- qualifiedName or userId is null; qualifiedName is not uniquePropertyServerException- problem accessing property serverUserNotAuthorizedException- security access problem
-
updateActorProfile
public void updateActorProfile(String userId, String externalSourceGUID, String externalSourceName, String actorProfileGUID, boolean isMergeUpdate, ActorProfileProperties properties, ContributionRecord contributionRecord) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Update the definition of an actor profile.- Specified by:
updateActorProfilein interfaceOrganizationManagementInterface- Parameters:
userId- calling userexternalSourceGUID- guid of the software server capability entity that represented the external source - null for localexternalSourceName- name of the software server capability entity that represented the external sourceactorProfileGUID- unique identifier of actor profileisMergeUpdate- are unspecified properties unchanged (true) or replaced with null?properties- properties to change- Throws:
InvalidParameterException- guid, qualifiedName or userId is null; qualifiedName is not unique; guid is not knownPropertyServerException- problem accessing property serverUserNotAuthorizedException- security access problem
-
deleteActorProfile
public void deleteActorProfile(String userId, String externalSourceGUID, String externalSourceName, String actorProfileGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Remove the definition of an actor profile.- Specified by:
deleteActorProfilein interfaceOrganizationManagementInterface- Parameters:
userId- calling userexternalSourceGUID- guid of the software server capability entity that represented the external source - null for localexternalSourceName- name of the software server capability entity that represented the external sourceactorProfileGUID- unique identifier of actor profile- Throws:
InvalidParameterException- guid or userId is null; guid is not knownPropertyServerException- problem accessing property serverUserNotAuthorizedException- security access problem
-
addContactMethod
public String addContactMethod(String userId, String externalSourceGUID, String externalSourceName, String actorProfileGUID, ContactMethodProperties properties) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
Add a new contact method to the profile.- Specified by:
addContactMethodin interfaceOrganizationManagementInterface- Parameters:
userId- the name of the calling user.externalSourceGUID- guid of the software server capability entity that represented the external source - null for localexternalSourceName- name of the software server capability entity that represented the external sourceactorProfileGUID- identifier of the profile to update.properties- properties of contact method.- Returns:
- unique identifier (guid) for the new contact method.
- Throws:
InvalidParameterException- the userId is null or invalid. Another property is invalid.PropertyServerException- there is a problem retrieving information from the property server(s).UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
deleteContactMethod
public void deleteContactMethod(String userId, String externalSourceGUID, String externalSourceName, String contactMethodGUID) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
Remove an obsolete contact method from the profile.- Specified by:
deleteContactMethodin interfaceOrganizationManagementInterface- Parameters:
userId- the name of the calling user.externalSourceGUID- guid of the software server capability entity that represented the external source - null for localexternalSourceName- name of the software server capability entity that represented the external sourcecontactMethodGUID- unique identifier (guid) for the obsolete contact method.- Throws:
InvalidParameterException- the userId is null or invalid. Another property is invalid.PropertyServerException- there is a problem retrieving information from the property server(s).UserNotAuthorizedException- the requesting user is not authorized to issue this request.
-
linkTeamsInHierarchy
public void linkTeamsInHierarchy(String userId, String externalSourceGUID, String externalSourceName, String superTeamProfileGUID, String subTeamProfileGUID, boolean delegationEscalationAuthority, Date effectiveFrom, Date effectiveTo) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Link two related team/organization actor profiles together as part of a hierarchy. A team/organization actor profile can only have one parent but many child actor profiles.- Specified by:
linkTeamsInHierarchyin interfaceOrganizationManagementInterface- Parameters:
userId- calling userexternalSourceGUID- guid of the software server capability entity that represented the external source - null for localexternalSourceName- name of the software server capability entity that represented the external sourcesuperTeamProfileGUID- unique identifier of the parent team profilesubTeamProfileGUID- unique identifier of the child team profiledelegationEscalationAuthority- can workflows delegate/escalate through this link?effectiveFrom- start date for the team relationshipeffectiveTo- end date for the team relationship- Throws:
InvalidParameterException- one of the guids is null or not knownPropertyServerException- problem accessing property serverUserNotAuthorizedException- security access problem
-
unlinkTeamsInHierarchy
public void unlinkTeamsInHierarchy(String userId, String externalSourceGUID, String externalSourceName, String superTeamProfileGUID, String subTeamProfileGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Remove the link between two actor profiles in the actor profile hierarchy.- Specified by:
unlinkTeamsInHierarchyin interfaceOrganizationManagementInterface- Parameters:
userId- calling userexternalSourceGUID- guid of the software server capability entity that represented the external source - null for localexternalSourceName- name of the software server capability entity that represented the external sourcesuperTeamProfileGUID- unique identifier of the parent actor profilesubTeamProfileGUID- unique identifier of the child actor profile- Throws:
InvalidParameterException- one of the guids is null or not knownPropertyServerException- problem accessing property serverUserNotAuthorizedException- security access problem
-
getActorProfileByGUID
public ActorProfileElement getActorProfileByGUID(String userId, String actorProfileGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Return information about a specific actor profile.- Specified by:
getActorProfileByGUIDin interfaceOrganizationManagementInterface- Parameters:
userId- calling useractorProfileGUID- unique identifier for the actor profile- Returns:
- properties of the actor profile
- Throws:
InvalidParameterException- actorProfileGUID or userId is nullPropertyServerException- problem accessing property serverUserNotAuthorizedException- security access problem
-
getActorProfileByUserId
public ActorProfileElement getActorProfileByUserId(String userId, String actorProfileUserId) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Return information about a specific actor profile.- Specified by:
getActorProfileByUserIdin interfaceOrganizationManagementInterface- Parameters:
userId- calling useractorProfileUserId- unique identifier for the actor profile- Returns:
- properties of the actor profile
- Throws:
InvalidParameterException- actorProfileUserId or userId is nullPropertyServerException- problem accessing property serverUserNotAuthorizedException- security access problem
-
getActorProfileByName
public List<ActorProfileElement> getActorProfileByName(String userId, String name, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Return information about a named actor profile.- Specified by:
getActorProfileByNamein interfaceOrganizationManagementInterface- Parameters:
userId- calling username- unique name for the actor profilestartFrom- index of the list to start from (0 for start)pageSize- maximum number of elements to return.- Returns:
- list of matching actor profiles (hopefully only one)
- Throws:
InvalidParameterException- name or userId is nullPropertyServerException- problem accessing property serverUserNotAuthorizedException- security access problem
-
findActorProfile
public List<ActorProfileElement> findActorProfile(String userId, String searchString, int startFrom, int pageSize) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
Retrieve the list of matching profiles for the search string.- Specified by:
findActorProfilein interfaceOrganizationManagementInterface- Parameters:
userId- the name of the calling user.searchString- RegEx string to search forstartFrom- index of the list to start from (0 for start)pageSize- maximum number of elements to return.- Returns:
- list of matching actor profiles
- Throws:
InvalidParameterException- guid invalid or the external references are not correctly specified, or are null.PropertyServerException- the server is not available.UserNotAuthorizedException- the calling user is not authorized to issue the call.
-
createPersonRole
public String createPersonRole(String userId, String externalSourceGUID, String externalSourceName, PersonRoleProperties properties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Create a definition of a person role.- Specified by:
createPersonRolein interfaceOrganizationManagementInterface- Parameters:
userId- calling userexternalSourceGUID- guid of the software server capability entity that represented the external source - null for localexternalSourceName- name of the software server capability entity that represented the external sourceproperties- properties for a person role- Returns:
- unique identifier of person role
- Throws:
InvalidParameterException- qualifiedName or userId is null; qualifiedName is not uniquePropertyServerException- problem accessing property serverUserNotAuthorizedException- security access problem
-
updatePersonRole
public void updatePersonRole(String userId, String externalSourceGUID, String externalSourceName, String personRoleGUID, boolean isMergeUpdate, PersonRoleProperties properties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Update the definition of a person role.- Specified by:
updatePersonRolein interfaceOrganizationManagementInterface- Parameters:
userId- calling userexternalSourceGUID- guid of the software server capability entity that represented the external source - null for localexternalSourceName- name of the software server capability entity that represented the external sourcepersonRoleGUID- unique identifier of person roleisMergeUpdate- are unspecified properties unchanged (true) or replaced with null?properties- properties to change- Throws:
InvalidParameterException- guid, qualifiedName or userId is null; qualifiedName is not unique; guid is not knownPropertyServerException- problem accessing property serverUserNotAuthorizedException- security access problem
-
deletePersonRole
public void deletePersonRole(String userId, String externalSourceGUID, String externalSourceName, String personRoleGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Remove the definition of a person role.- Specified by:
deletePersonRolein interfaceOrganizationManagementInterface- Parameters:
userId- calling userexternalSourceGUID- guid of the software server capability entity that represented the external source - null for localexternalSourceName- name of the software server capability entity that represented the external sourcepersonRoleGUID- unique identifier of person role- Throws:
InvalidParameterException- guid or userId is null; guid is not knownPropertyServerException- problem accessing property serverUserNotAuthorizedException- security access problem
-
linkPersonRoleToProfile
public String linkPersonRoleToProfile(String userId, String externalSourceGUID, String externalSourceName, String personRoleGUID, String personProfileGUID, AppointmentProperties properties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Link a person role to a person profile to show that that person is performing the role.- Specified by:
linkPersonRoleToProfilein interfaceOrganizationManagementInterface- Parameters:
userId- calling userexternalSourceGUID- guid of the software server capability entity that represented the external source - null for localexternalSourceName- name of the software server capability entity that represented the external sourcepersonRoleGUID- unique identifier of the person rolepersonProfileGUID- unique identifier of the person profileproperties- optional properties for the appointment- Throws:
InvalidParameterException- one of the guids is null or not knownPropertyServerException- problem accessing property serverUserNotAuthorizedException- security access problem
-
getAppointees
public List<PersonRoleAppointee> getAppointees(String userId, String personRoleGUID, Date effectiveTime, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Return the list of people appointed to a particular role.- Specified by:
getAppointeesin interfaceOrganizationManagementInterface- Parameters:
userId- calling userpersonRoleGUID- unique identifier of the person roleeffectiveTime- time for appointments, null for full appointment historystartFrom- index of the list to start from (0 for start)pageSize- maximum number of elements to return- Returns:
- list of appointees
- Throws:
InvalidParameterException- one of the guids is null or not knownPropertyServerException- problem accessing property serverUserNotAuthorizedException- security access problem
-
updateAppointment
public void updateAppointment(String userId, String externalSourceGUID, String externalSourceName, String appointmentGUID, boolean isMergeUpdate, AppointmentProperties properties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Update the properties for the appointment of a person to a role.- Specified by:
updateAppointmentin interfaceOrganizationManagementInterface- Parameters:
userId- calling userexternalSourceGUID- guid of the software server capability entity that represented the external source - null for localexternalSourceName- name of the software server capability entity that represented the external sourceappointmentGUID- unique identifier of the appointment relationshipisMergeUpdate- are unspecified properties unchanged (true) or replaced with null?properties- properties to change- Throws:
InvalidParameterException- one of the guids is null or not knownPropertyServerException- problem accessing property serverUserNotAuthorizedException- security access problem
-
unlinkPersonRoleFromProfile
public void unlinkPersonRoleFromProfile(String userId, String externalSourceGUID, String externalSourceName, String appointmentGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Remove the link between a person role and a person profile.- Specified by:
unlinkPersonRoleFromProfilein interfaceOrganizationManagementInterface- Parameters:
userId- calling userexternalSourceGUID- guid of the software server capability entity that represented the external source - null for localexternalSourceName- name of the software server capability entity that represented the external sourceappointmentGUID- unique identifier of the appointment relationship- Throws:
InvalidParameterException- one of the guids is null or not knownPropertyServerException- problem accessing property serverUserNotAuthorizedException- security access problem
-
linkTeamPlayer
public void linkTeamPlayer(String userId, String externalSourceGUID, String externalSourceName, String teamRoleGUID, String teamProfileGUID, String position, boolean leadershipPosition) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Link a team leader person role or team member person role to a team profile.- Specified by:
linkTeamPlayerin interfaceOrganizationManagementInterface- Parameters:
userId- calling userexternalSourceGUID- guid of the software server capability entity that represented the external source - null for localexternalSourceName- name of the software server capability entity that represented the external sourceteamRoleGUID- unique identifier of the person roleteamProfileGUID- unique identifier of the team profileposition- position name of the role in the teamleadershipPosition- is this a leadership position- Throws:
InvalidParameterException- one of the guids is null or not known; the person role is not a team member or team leaderPropertyServerException- problem accessing property serverUserNotAuthorizedException- security access problem
-
unlinkTeamPlayer
public void unlinkTeamPlayer(String userId, String externalSourceGUID, String externalSourceName, String teamRoleGUID, String teamProfileGUID, boolean leadershipPosition) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Remove the link between a person role and a team profile.- Specified by:
unlinkTeamPlayerin interfaceOrganizationManagementInterface- Parameters:
userId- calling userexternalSourceGUID- guid of the software server capability entity that represented the external source - null for localexternalSourceName- name of the software server capability entity that represented the external sourceteamRoleGUID- unique identifier of the person roleteamProfileGUID- unique identifier of the team profileleadershipPosition- is this a leadership position- Throws:
InvalidParameterException- one of the guids is null or not known; the person role is not a team member or team leaderPropertyServerException- problem accessing property serverUserNotAuthorizedException- security access problem
-
getPersonRoleByGUID
public PersonRoleElement getPersonRoleByGUID(String userId, String personRoleGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Return information about a specific person role.- Specified by:
getPersonRoleByGUIDin interfaceOrganizationManagementInterface- Parameters:
userId- calling userpersonRoleGUID- unique identifier for the person role- Returns:
- properties of the person role
- Throws:
InvalidParameterException- personRoleGUID or userId is nullPropertyServerException- problem accessing property serverUserNotAuthorizedException- security access problem
-
getPersonRoleByName
public List<PersonRoleElement> getPersonRoleByName(String userId, String name, int startFrom, int pageSize) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
Return information about a named person role.- Specified by:
getPersonRoleByNamein interfaceOrganizationManagementInterface- Parameters:
userId- calling username- unique name for the actor profilestartFrom- index of the list to start from (0 for start)pageSize- maximum number of elements to return.- Returns:
- list of matching actor profiles (hopefully only one)
- Throws:
InvalidParameterException- name or userId is nullPropertyServerException- problem accessing property serverUserNotAuthorizedException- security access problem
-
findPersonRole
public List<PersonRoleElement> findPersonRole(String userId, String searchString, int startFrom, int pageSize) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException
Retrieve the list of matching roles for the search string.- Specified by:
findPersonRolein interfaceOrganizationManagementInterface- Parameters:
userId- the name of the calling user.searchString- RegEx string to search forstartFrom- index of the list to start from (0 for start)pageSize- maximum number of elements to return.- Returns:
- list of matching actor profiles
- Throws:
InvalidParameterException- guid invalid or the external references are not correctly specified, or are null.PropertyServerException- the server is not available.UserNotAuthorizedException- the calling user is not authorized to issue the call.
-
-