SP.RoleDefinitionCreationInformation.basePermissions property (sp.js)

Gets or sets a value that specifies the permissions for the role definition.

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

var value = SP.RoleDefinitionCreationInformation.get_basePermissions ()
var value = SP.RoleDefinitionCreationInformation.set_basePermissions ()

Return value

Type: SP.BasePermissions

Remarks

It must not be null. It must not be empty. Its length must be equal to or less than 255. It must not contain any of the following characters: []/\:|<>+=;,?*'@