@RestController
@RequestMapping(value="/servers/{serverName}/open-metadata/access-services/community-profile/users/{userId}")
public class UserIdentityResource
extends Object
| Constructor and Description |
|---|
UserIdentityResource() |
| Modifier and Type | Method and Description |
|---|---|
VoidResponse |
addIdentityToProfile(String serverName,
String userId,
String profileGUID,
UserIdentityRequestBody requestBody)
Link a user identity to a profile.
|
VoidResponse |
createUserIdentity(String serverName,
String userId,
UserIdentityRequestBody requestBody)
Create a UserIdentity.
|
VoidResponse |
removeIdentityFromProfile(String serverName,
String userId,
String profileGUID,
UserIdentityRequestBody requestBody)
Remove a user identity object.
|
VoidResponse |
removeUserIdentity(String serverName,
String userId,
UserIdentityRequestBody requestBody)
Remove a user identity object.
|
@RequestMapping(method=POST,
path="/user-identity")
public VoidResponse createUserIdentity(@PathVariable
String serverName,
@PathVariable
String userId,
@RequestBody
UserIdentityRequestBody requestBody)
serverName - name of target serveruserId - the name of the calling user.requestBody - userId for the new userIdentity.@RequestMapping(method=POST,
path="/personal-profiles/{profileGUID}/user-identity")
public VoidResponse addIdentityToProfile(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String profileGUID,
@RequestBody
UserIdentityRequestBody requestBody)
serverName - name of target serveruserId - the name of the calling user.profileGUID - the profile to add the identity to.requestBody - additional userId for the profile.@RequestMapping(method=POST,
path="/personal-profiles/{profileGUID}/user-identity/delete")
public VoidResponse removeIdentityFromProfile(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String profileGUID,
@RequestBody
UserIdentityRequestBody requestBody)
serverName - name of target serveruserId - the name of the calling user.profileGUID - profile to remove it from.requestBody - user identity to remove.@RequestMapping(method=POST,
path="/user-identity/delete")
public VoidResponse removeUserIdentity(@PathVariable
String serverName,
@PathVariable
String userId,
@RequestBody
UserIdentityRequestBody requestBody)
serverName - name of target serveruserId - the name of the calling user.requestBody - user identity to remove.Copyright © 2018–2019 ODPi. All rights reserved.