'Declaration
Public Shared Function CanPerform( _ ByVal permissionSet As IList(Of Integer), _ ByVal requestedAction As SecurityPermission _ ) As Boolean
public static bool CanPerform( IList<int> permissionSet, SecurityPermission requestedAction )
public: static bool CanPerform( IList<int>^ permissionSet, SecurityPermission requestedAction )
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.