adTempus API
ArcanaDevelopment.adTempus.Client Namespace / SecurityDescriptor Class / AddPermissions Method
The SecurityEntity to replace permissions for.
The permissions to grant. Can be null if no changes are being made.
The permissions to deny. Can be null if no changes are being made.
The inheritance options to use.


In This Topic
    AddPermissions Method
    In This Topic
    Adds the specified permissions to the existing permissions for the specified entity.
    Syntax

    Parameters

    entity
    The SecurityEntity to replace permissions for.
    grantPermissions
    The permissions to grant. Can be null if no changes are being made.
    denyPermissions
    The permissions to deny. Can be null if no changes are being made.
    inheritanceOptions
    The inheritance options to use.

    Return Value

    The new or updated AccessControlEntry reflecting the permissions.
    Remarks
    If the descriptor already contains an AccessControlEntry matching the entity and inheritanceOptions, that entry's permissions are updated with the grantPermissions and denyPermissions. Otherwise a new AccessControlEntry is created with the specified settings and permissions.
    See Also