public interface UserIdentityManagementInterface
| Modifier and Type | Method and Description |
|---|---|
void |
addIdentityToProfile(String userId,
String newIdentity)
Create or update the profile for the requesting user.
|
void |
createUserIdentity(String userId,
String newIdentity)
Create a UserIdentity.
|
void |
removeIdentityFromProfile(String userId,
String newIdentity)
Create or update the profile for the requesting user.
|
void createUserIdentity(String userId, String newIdentity) throws InvalidParameterException, NoProfileForUserException, PropertyServerException, UserNotAuthorizedException
userId - the name of the calling user.newIdentity - userId for the new userIdentity.InvalidParameterException - one of the parameters is invalid.NoProfileForUserException - the user does not have a profile.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.void addIdentityToProfile(String userId, String newIdentity) throws InvalidParameterException, NoProfileForUserException, PropertyServerException, UserNotAuthorizedException
userId - the name of the calling user.newIdentity - additional userId for the profile.InvalidParameterException - one of the parameters is invalid.NoProfileForUserException - the user does not have a profile.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.void removeIdentityFromProfile(String userId, String newIdentity) throws InvalidParameterException, NoProfileForUserException, PropertyServerException, UserNotAuthorizedException
userId - the name of the calling user.newIdentity - additional userId for the profile.InvalidParameterException - one of the parameters is invalid.NoProfileForUserException - the user does not have a profile.PropertyServerException - there is a problem retrieving information from the property server(s).UserNotAuthorizedException - the requesting user is not authorized to issue this request.Copyright © 2018–2019 ODPi. All rights reserved.