public interface CcOperationsUsers
| Modifier and Type | Method and Description |
|---|---|
void |
assignOrgRole(UUID userGuid,
UUID orgGuid,
Role role)
Assigns organization role to user identified by given GUID.
|
void |
assignSpaceRole(UUID userGuid,
UUID orgGuid,
Role role)
Assigns space role to user identified by given GUID.
|
void |
deleteUser(UUID guid)
Deletes user identified by given GUID.
|
Collection<User> |
getOrgUsers(UUID orgGuid,
Role role)
Returns all users with given role within organization identified by given GUID.
|
Collection<User> |
getSpaceUsers(UUID spaceGuid,
Role role)
Returns all users with given role within space identified by given GUID.
|
void |
revokeOrgRole(UUID userGuid,
UUID orgId,
Role role)
Removes organization role from user identified by given GUID
|
void |
revokeSpaceRole(UUID userGuid,
UUID spaceId,
Role role)
Removes space role from user identified by given GUID
|
Collection<User> getOrgUsers(UUID orgGuid, Role role)
orgGuid - organization GUIDrole - user roleCollection<User> getSpaceUsers(UUID spaceGuid, Role role)
spaceGuid - space GUIDrole - user rolevoid assignOrgRole(UUID userGuid, UUID orgGuid, Role role)
userGuid - user GUIDorgGuid - organization GUIDrole - organization rolevoid assignSpaceRole(UUID userGuid, UUID orgGuid, Role role)
userGuid - user GUIDorgGuid - organization GUIDrole - space rolevoid deleteUser(UUID guid)
guid - user GUIDvoid revokeOrgRole(UUID userGuid, UUID orgId, Role role)
userGuid - user GUIDorgId - organization GUIDrole - organization roleCopyright © 2016 Pivotal Software, Inc.. All rights reserved.