SP.BasePermissions.hasPermissions(high, low) Method
Applies to: SharePoint Foundation 2010
In this article
Return Value
Remarks
Applies To
Determines whether the current instance has the specified set of permissions.
var value = SP.BasePermissions.hasPermissions(high, low);
Parameters
high
The high-order part of the permissions to check.
Type: int
low
Type: int
The low-order part of the permissions to check.
Return Value
Type: boolean
true if the current instance has the specified set of permissions; otherwise, false.
Remarks
The permissions represented by the current instance are a bitmasked 64-bit value that is represented by two 32-bit integer values on the client.