Export (0) Print
Expand All

SPSecurableObject.DoesUserHavePermissions method

Indicates whether the current user has a specified set of permissions.

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

public virtual bool DoesUserHavePermissions(
	SPBasePermissions permissionMask
)

Parameters

permissionMask
Type: Microsoft.SharePoint.SPBasePermissions

A bitwise combination of enumeration values that specifies a set of permissions.

Return value

Type: System.Boolean
true if the current user has the specified permissions; otherwise, false.

Implements

ISecurableObject.DoesUserHavePermissions(SPBasePermissions)
Show:
© 2014 Microsoft