SPAcl<T>.DoesUserHavePermissions Method
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.