adTempus API
ArcanaDevelopment.adTempus.Client Namespace / SecurityDescriptor Class / GetOrCreateAccessControlEntry Method
The entity to get the entry for.
The inheritance options to use.


In This Topic
    GetOrCreateAccessControlEntry Method
    In This Topic
    Gets an AccessControlEntry for the specified entity and inheritance options.
    Syntax
    'Declaration
     
    
    <NotNullAttribute()>
    Public Function GetOrCreateAccessControlEntry( _
       ByVal securityEntity As SecurityEntity, _
       ByVal inheritanceOptions As SecurityInheritanceOptions _
    ) As AccessControlEntry

    Parameters

    securityEntity
    The entity to get the entry for.
    inheritanceOptions
    The inheritance options to use.

    Return Value

    A new or existing AccessControlEntry for the combination of securityEntity and inheritanceOptions. See Remarks.
    Remarks
    If the descriptor already contains a matching AccessControlEntry it is returned. Otherwise a new AccessControlEntry is created, added to the descriptor, and returned.
    See Also