Export (0) Print
Expand All

SPWeb.DoesUserHavePermissions method (String, SPBasePermissions)

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

'Declaration
Public Function DoesUserHavePermissions ( _
	login As String, _
	permissionMask As SPBasePermissions _
) As Boolean
'Usage
Dim instance As SPWeb
Dim login As String
Dim permissionMask As SPBasePermissions
Dim returnValue As Boolean

returnValue = instance.DoesUserHavePermissions(login, _
	permissionMask)

Parameters

login
Type: System.String
permissionMask
Type: Microsoft.SharePoint.SPBasePermissions

Return value

Type: System.Boolean
Show:
© 2015 Microsoft