public class UserIdentityRESTServices extends Object
| Constructor and Description |
|---|
UserIdentityRESTServices()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
VoidResponse |
addIdentityToProfile(String serverName,
String userId,
String userIdentityGUID,
String profileGUID,
MetadataSourceRequestBody requestBody)
Link a user identity to a profile.
|
GUIDResponse |
createUserIdentity(String serverName,
String userId,
UserIdentityRequestBody requestBody)
Create a UserIdentity.
|
VoidResponse |
deleteUserIdentity(String serverName,
String userId,
String userIdentityGUID,
MetadataSourceRequestBody requestBody)
Remove a user identity object.
|
UserIdentityListResponse |
findUserIdentities(String serverName,
String userId,
int startFrom,
int pageSize,
SearchStringRequestBody requestBody)
Retrieve the list of user identity metadata elements that contain the search string.
|
UserIdentityListResponse |
getUserIdentitiesByName(String serverName,
String userId,
int startFrom,
int pageSize,
NameRequestBody requestBody)
Retrieve the list of user identity metadata elements with a matching qualified name.
|
UserIdentityResponse |
getUserIdentityByGUID(String serverName,
String userId,
String userIdentityGUID)
Retrieve the userIdentity metadata element with the supplied unique identifier.
|
VoidResponse |
removeIdentityFromProfile(String serverName,
String userId,
String userIdentityGUID,
String profileGUID,
MetadataSourceRequestBody requestBody)
Remove a user identity object.
|
VoidResponse |
updateUserIdentity(String serverName,
String userId,
String userIdentityGUID,
boolean isMergeUpdate,
UserIdentityRequestBody requestBody)
Update a UserIdentity.
|
public GUIDResponse createUserIdentity(String serverName, String userId, UserIdentityRequestBody requestBody)
serverName - name of target serveruserId - the name of the calling userrequestBody - userId for the new userIdentitypublic VoidResponse updateUserIdentity(String serverName, String userId, String userIdentityGUID, boolean isMergeUpdate, UserIdentityRequestBody requestBody)
serverName - name of target serveruserId - the name of the calling useruserIdentityGUID - unique identifier of the UserIdentityisMergeUpdate - should the supplied properties be overlaid on the existing properties (true) or replace them (falserequestBody - updated properties for the new userIdentitypublic VoidResponse deleteUserIdentity(String serverName, String userId, String userIdentityGUID, MetadataSourceRequestBody requestBody)
serverName - name of target serveruserId - the name of the calling user.userIdentityGUID - unique identifier of the UserIdentityrequestBody - external source identifierspublic VoidResponse addIdentityToProfile(String serverName, String userId, String userIdentityGUID, String profileGUID, MetadataSourceRequestBody requestBody)
serverName - name of target serveruserId - the name of the calling user.userIdentityGUID - unique identifier of the UserIdentityprofileGUID - the profile to add the identity to.requestBody - external source identifierspublic VoidResponse removeIdentityFromProfile(String serverName, String userId, String userIdentityGUID, String profileGUID, MetadataSourceRequestBody requestBody)
serverName - name of target serveruserId - the name of the calling user.userIdentityGUID - unique identifier of the UserIdentityprofileGUID - profile to remove it from.requestBody - external source identifierspublic UserIdentityListResponse findUserIdentities(String serverName, String userId, int startFrom, int pageSize, SearchStringRequestBody requestBody)
serverName - name of target serveruserId - calling userstartFrom - paging start pointpageSize - maximum results that can be returnedrequestBody - string to find in the propertiespublic UserIdentityListResponse getUserIdentitiesByName(String serverName, String userId, int startFrom, int pageSize, NameRequestBody requestBody)
serverName - name of target serveruserId - calling userstartFrom - paging start pointpageSize - maximum results that can be returnedrequestBody - name to search forpublic UserIdentityResponse getUserIdentityByGUID(String serverName, String userId, String userIdentityGUID)
serverName - name of target serveruserId - calling useruserIdentityGUID - unique identifier of the requested metadata elementCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.