public interface UserManager
| Modifier and Type | Method and Description |
|---|---|
boolean |
associateUserToGroup(String scope,
String userToAssociate)
Associate a user with a scope group
|
boolean |
associateUserToGroup(String scope,
String userToAssociate,
String portalLogin)
Deprecated.
|
GCubeGroup |
createGroup(String groupName)
Create a new group
|
boolean |
createUser(String name,
String version)
Create a new user (the password will be automatically generated)
|
boolean |
createUser(String name,
String pass,
String version)
Create a new user with password
|
boolean |
deleteAuthorizable(String user)
Delete a group
|
GCubeGroup |
getGroup(String groupname)
Return a group by the name
|
List<GCubeGroup> |
getGroups()
Get all groups
|
List<String> |
getUsers()
Get a list of all users
|
String |
getVersionByUser(String user)
Get current workspace Version By User
|
boolean |
isGroup(String groupId)
Check if a user is a group
|
boolean |
removeAdministrator(String scope,
String username) |
boolean |
removeAdministrator(String scope,
String username,
String portalLogin)
Deprecated.
|
boolean |
removeUserFromGroup(String scope,
String userToRemove)
Remove a user from a scope group
|
boolean |
removeUserFromGroup(String scope,
String userToRemove,
String portalLogin)
Deprecated.
|
boolean |
setAdministrator(String scope,
String username) |
boolean |
setAdministrator(String scope,
String username,
String portalLogin)
Deprecated.
|
boolean |
setVersionByUser(String user,
String version)
Set workspace Version for a User
|
boolean createUser(String name, String version) throws InternalErrorException
name - of the new userversion - HL release versionInternalErrorExceptionboolean createUser(String name, String pass, String version) throws InternalErrorException
name - of the new userpass - of the new userversion - HL release versionInternalErrorExceptionList<String> getUsers() throws InternalErrorException
InternalErrorExceptionString getVersionByUser(String user) throws InternalErrorException
user - InternalErrorExceptionboolean setVersionByUser(String user, String version) throws InternalErrorException
user - version - HL release versionInternalErrorExceptionList<GCubeGroup> getGroups() throws InternalErrorException
InternalErrorExceptionGCubeGroup getGroup(String groupname) throws InternalErrorException
groupname: - name of the new group.InternalErrorExceptionGCubeGroup createGroup(String groupName) throws InternalErrorException
groupName: - name of the new groupInternalErrorExceptionboolean deleteAuthorizable(String user) throws InternalErrorException
user: - name of a group or userInternalErrorException@Deprecated boolean associateUserToGroup(String scope, String userToAssociate, String portalLogin) throws InternalErrorException, ItemNotFoundException
associateUserToGroup(String scope, String userToAssociate) instead.scope: - the VRE scopeusername: - an existing user to associate to a VRE groupportalLogin - InternalErrorExceptionItemNotFoundException@Deprecated boolean removeUserFromGroup(String scope, String userToRemove, String portalLogin) throws InternalErrorException, ItemNotFoundException
removeUserFromGroup(String scope, String userToRemove) instead.scope: - the VRE scopeuserToRemove: - an existing user to removeportalLogin - InternalErrorExceptionItemNotFoundException@Deprecated boolean setAdministrator(String scope, String username, String portalLogin) throws InternalErrorException, ItemNotFoundException
scope: - the VRE scopeusername: - an existing user to remove from the VRE groupportalLogin - InternalErrorExceptionItemNotFoundException@Deprecated boolean removeAdministrator(String scope, String username, String portalLogin) throws InternalErrorException, ItemNotFoundException
scope: - the VRE scopeusername: - an existing userportalLogin - InternalErrorExceptionItemNotFoundExceptionboolean isGroup(String groupId) throws InternalErrorException
groupId - InternalErrorExceptionboolean associateUserToGroup(String scope, String userToAssociate) throws InternalErrorException, ItemNotFoundException
scope: - the VRE scopeusername: - an existing user to associate to a VRE groupportalLogin - InternalErrorExceptionItemNotFoundExceptionboolean removeUserFromGroup(String scope, String userToRemove) throws InternalErrorException, ItemNotFoundException
scope: - the VRE scopeuserToRemove: - an existing user to remove from the VRE groupInternalErrorExceptionItemNotFoundExceptionboolean setAdministrator(String scope, String username) throws InternalErrorException, ItemNotFoundException
scope - username - InternalErrorExceptionItemNotFoundExceptionboolean removeAdministrator(String scope, String username) throws InternalErrorException, ItemNotFoundException
scope - username - InternalErrorExceptionItemNotFoundExceptionCopyright © 2020. All Rights Reserved.