SP.Web.doesUserHavePermissions(permissionMask) Method
Applies to: SharePoint Foundation 2010
In this article
Return Value
Applies To
Remarks
Returns whether the current user has the given set of permissions.
var value = SP.Web.doesUserHavePermissions(permissionMask);
Parameters
- permissionMask
Specifies the set of permissions to verify.
Type: SP.BasePermissions
Return Value
Type: SP.BooleanResult
Applies To
Remarks
It must not be null.