com.microstrategy.web.objects.WebAccessControlEntry |
The WebAccessControlEntry interface represents a single access control entry within a
WebAccessControlList
collection. A single entry is a single permission (or restriction of
permission) for a single user or user group. There are usually multiple entries on a
WebAccessControlList
object, and each one gives one rule for access/denial of access to an object.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract int |
getRights()
Returns the rights assigned to the user on this ACE.
| ||||||||||
abstract WebUserEntity |
getTrustee()
Returns the
WebUser object which is currently designated as the trustee
of the access control entry. | ||||||||||
abstract int |
getType()
The type of ACE, from
EnumDSSXMLAccessEntryType . | ||||||||||
abstract boolean |
isAccessDenied()
Returns whether the access denied flag is set on the ACE.
| ||||||||||
abstract boolean |
isInheritable()
Returns the value of the inheritable flag, which determines whether the ACE will be inherited or not.
| ||||||||||
abstract void |
setAccessDenied(boolean val)
Sets the access denied flag on the ACE.
| ||||||||||
abstract void |
setInheritable(boolean val)
Sets the inheritable flag, which determines whether the ACE will be inherited.
| ||||||||||
abstract void |
setRights(int rights)
Sets the rights assigned to the user on this ACE.
| ||||||||||
abstract void |
setTrustee(WebUserEntity trustee)
Sets the user designated as the trustee of the access control entry.
|
Returns the rights assigned to the user on this ACE.
EnumDSSXMLAccessRightFlags
.
The type of ACE, from EnumDSSXMLAccessEntryType
. Note that this value is set
upon creation of the access control entry.
EnumDSSXMLAccessEntryType
.
Returns whether the access denied flag is set on the ACE. If this is set, then the ACE is specifying denied access.
Returns the value of the inheritable flag, which determines whether the ACE will be inherited or not.
Sets the access denied flag on the ACE. If this is set, then the ACE is specifying denied access.
val | The new value of the access denied flag. |
---|
Sets the inheritable flag, which determines whether the ACE will be inherited.
val | The new value of the inheritable flag. |
---|
Sets the rights assigned to the user on this ACE. The input values should be the bitwise or (|) of values from EnumDSSXMLAccessRightFlags
.}
rights | The rights to assign to the user, from EnumDSSXMLAccessRightFlags .
|
---|
Sets the user designated as the trustee of the access control entry.
trustee | The WebUser object to set as the trustee.
|
---|