Partilhar via


SP.BasePermissions.clear(perm) Method

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.

Applies To

SP.BasePermissions Class

See Also

Reference

SP.BasePermissions Methods

SP.BasePermissions Properties

SP Namespace