public interface UserManager
| Modifier and Type | Method and Description |
|---|---|
boolean |
associateUserToGroup(String scope,
String username,
String portalLogin)
Associate a user with a scope group
|
GCubeGroup |
createGroup(String groupName)
create a new group
|
boolean |
createUser(String name)
Create a new user (the password will be automatically generated)
|
boolean |
createUser(String name,
String pass)
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 groups
|
List<String> |
getUsers()
Get users
|
boolean |
removeAdministrator(String scope,
String username,
String portalLogin)
Remove Administrator from a folder
|
boolean |
removeUserFromGroup(String scope,
String username,
String portalLogin)
Remove a user from a scope group
|
boolean |
setAdministrator(String scope,
String username,
String portalLogin)
Set Administrator to a folder
|
boolean createUser(String name) throws InternalErrorException
name - of the new userInternalErrorExceptionboolean createUser(String name, String pass) throws InternalErrorException
name - of the new userpass - of the new userInternalErrorExceptionList<String> getUsers() throws InternalErrorException
InternalErrorExceptionList<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 group.InternalErrorExceptionboolean deleteAuthorizable(String user) throws InternalErrorException
user: - name of a group or userInternalErrorExceptionboolean associateUserToGroup(String scope, String username, String portalLogin) throws InternalErrorException, ItemNotFoundException
scope: - VRE nameusername: - an existing userportalLogin - InternalErrorExceptionItemNotFoundExceptionboolean removeUserFromGroup(String scope, String username, String portalLogin) throws InternalErrorException, ItemNotFoundException
scope: - VRE nameusername: - an existing userportalLogin - InternalErrorExceptionItemNotFoundExceptionboolean setAdministrator(String scope, String username, String portalLogin) throws InternalErrorException, ItemNotFoundException
scope: - VRE nameusername: - an existing userportalLogin - InternalErrorExceptionItemNotFoundExceptionboolean removeAdministrator(String scope, String username, String portalLogin) throws InternalErrorException, ItemNotFoundException
scope: - VRE nameusername: - an existing userportalLogin - InternalErrorExceptionItemNotFoundExceptionCopyright © 2014. All Rights Reserved.