Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Performs an access check to determine if the current user has the specified permissions.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Function DoesUserHavePermissions ( _
permissions As T _
) As Boolean
'Usage
Dim instance As SPAcl
Dim permissions As T
Dim returnValue As Boolean
returnValue = instance.DoesUserHavePermissions(permissions)
public bool DoesUserHavePermissions(
T permissions
)
Parameters
permissions
Type: TAn object that represents the permissions to check.
Return Value
Type: System.Boolean
true if the user has the permissions; otherwise, false.