SP.BasePermissions.set Method (sp.js)

Sets the specified permission for the current instance.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

SP.BasePermissions.set()

Parameters

  • perm
    Type: SP.PermissionKind

    One of the enumeration values that specifies the permission to set.

Return value

Undefined

Remarks

This method sets the specified permission for the current instance.