public class WGUserAccess
extends java.lang.Object
Constructor and Description |
---|
WGUserAccess(java.lang.String userName,
int accessLevel)
Public constructor for user access that is not based on an ACL entry
|
WGUserAccess(java.lang.String userName,
int accessLevel,
WGACLEntryFlags flags)
Public constructor, taking all information
|
Modifier and Type | Method and Description |
---|---|
int |
getAccessLevel()
Returns the accessLevel.
|
java.lang.String |
getPrimaryName()
Returns the primary name of the user, which should be full qualified and unique
|
boolean |
isOutdated()
Determines if this object has expired
|
boolean |
mayAccessDirectly()
Returns if user has privilege to access the application directly, f.e. via URL
|
boolean |
mayDeleteDocuments()
Returns if user has privilege to delete documents
|
boolean |
mayMoveStructEntries()
Returns if user has privilege to move struct entries
|
public WGUserAccess(java.lang.String userName, int accessLevel, WGACLEntryFlags flags) throws WGIllegalDataException
userName
- Distinguished name of the useraccessLevel
- Access level of the userflags
- Optional ACL flags for the userWGIllegalDataException
public WGUserAccess(java.lang.String userName, int accessLevel) throws WGIllegalDataException
userName
- Distinguished name of the useraccessLevel
- Access level of the userWGIllegalDataException
public boolean mayDeleteDocuments()
public boolean mayMoveStructEntries()
public boolean mayAccessDirectly()
public int getAccessLevel()
public boolean isOutdated()
public java.lang.String getPrimaryName()