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
Sets the specified permission for the current instance.
SP.BasePermissions.set(perm);
Parameters
perm
Type: SP.PermissionKind
One of the enumeration values that specifies the permission to set.
Remarks
This method sets the specified permission for the current instance.