doesUserHavePermissions(permissionMask) Method

SP.Web.doesUserHavePermissions(permissionMask) Method

SharePoint 2010

Last modified: May 27, 2011

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);

permissionMask

Specifies the set of permissions to verify.

Type: SP.BasePermissions

Type: SP.BooleanResult

It must not be null.

Show:
© 2016 Microsoft