SP.RoleDefinition.name Property

Gets or sets a value that specifies the role definition name.

Applies to: SharePoint Foundation 2010

In this article
Property Value
Applies To
Remarks

var value = SP.RoleDefinition.get_name(); 
SP.RoleDefinition.set_name(value);

Property Value

Type: String

Applies To

SP.RoleDefinition Class

Exceptions

  • [System.InvalidOperationException]
    Role definition is inherited from a parent site. Error code: -1.

Remarks

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

See Also

Reference

SP.RoleDefinition Methods

SP.RoleDefinition Properties

SP Namespace