SP.BasePermissions.set(perm) Method

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.

Applies To

SP.BasePermissions Class

See Also

Reference

SP.BasePermissions Methods

SP.BasePermissions Properties

SP Namespace