Package com.emc.documentum.rest.dfc
Interface UserManager
public interface UserManager
The user manager.
-
Method Summary
Modifier and TypeMethodDescriptioncreateUser(UserObject user) Create a usercurrentUser(AttributeView attributeView) Get current login user.voiddeleteUser(String userName) Delete a userget(String userName, AttributeView attributeView) Get a user by its user name.getPermissionSet(String userName) Get a user's associated permission setupdateUser(String userName, UserObject userObject) Update a user
-
Method Details
-
get
UserObject get(String userName, AttributeView attributeView) throws com.documentum.fc.common.DfException Get a user by its user name.- Parameters:
userName- the user nameattributeView- the attribute view on the result- Returns:
- the user
- Throws:
com.documentum.fc.common.DfException- exception during the operation
-
currentUser
Get current login user.- Parameters:
attributeView- the attribute view on the result.- Returns:
- the user
- Throws:
com.documentum.fc.common.DfException- exception during the operation
-
createUser
Create a user- Parameters:
user- the userObject to be created.- Returns:
- the user
- Throws:
com.documentum.fc.common.DfException- exception during the operation
-
updateUser
UserObject updateUser(String userName, UserObject userObject) throws com.documentum.fc.common.DfException Update a user- Parameters:
userName- the user name to be updated.userObject- the object takes the properties to be updated.- Returns:
- the user
- Throws:
com.documentum.fc.common.DfException- exception during the operation
-
deleteUser
Delete a user- Parameters:
userName- the user name to be deleted.- Throws:
com.documentum.fc.common.DfException- exception during the operation
-
getPermissionSet
Get a user's associated permission set- Parameters:
userName- the user name- Returns:
- the permission set
- Throws:
com.documentum.fc.common.DfException- exception during the operation
-