Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: SharePoint Foundation 2010
Clears the specified permission for the current instance.
SP.BasePermissions.clear(perm);
Parameters
perm
Type: SP.PermissionKind
One of the enumeration values that specifies the permission to clear.
Remarks
This method removes the specified permission for the current instance by setting its permission flag to zero.