Content Studio Web Content Management System
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
If a item for the same trustee with the same type and flags already exists the entries will be merged together. If the access specifies no access the entry will be ignored and any compatible entry will be removed.
[This is preliminary documentation and is subject to change.]
Adds access for a trustee with a certain type, flags and access mask.
To remove access with the same type and flags for a trustee, pass an CSDiscretionaryAccessControlEntry with the CSObjectPermissions.None access mask. To completely remove all access for a trustee, use the RevokeAccess method.
Namespace: ContentStudio.Security.AccessControlEdit
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
Parameters
- ace
- Type: ContentStudio.Security.AccessControlEditCSDiscretionaryAccessControlEntry
A CSDiscretionaryAccessControlEntry instance that specifies the entry to add. This object cannot be marked as being inherited.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | The Ace specifies an inherited Ace. |
Remarks
See Also