adTempus API
ArcanaDevelopment.adTempus.Shared Namespace / PermissionHelper Class / CanPerform Method
The set of permissions to check against.
The permission being requested.


In This Topic
    CanPerform Method (PermissionHelper)
    In This Topic
    Determines whether a set of permissions includes the requested permission or SecurityPermission.FullControl.
    Syntax
    'Declaration
     
    
    Public Shared Function CanPerform( _
       ByVal permissionSet As IList(Of Integer), _
       ByVal requestedAction As SecurityPermission _
    ) As Boolean

    Parameters

    permissionSet
    The set of permissions to check against.
    requestedAction
    The permission being requested.

    Return Value

    True if the permissionSet contains either the requestedAction or SecurityPermission.FullControl; False otherwise.
    See Also