SP.RoleDefinitionCreationInformation.name property (sp.js)
Gets or sets a value that specifies the name of the role definition.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.RoleDefinitionCreationInformation.get_name ()
var value = SP.RoleDefinitionCreationInformation.set_name ()
Return value
Type: String
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: []/\:|<>+=;,?*'@