SP.RoleDefinition.description Property

Gets or sets a value that specifies the description of the role definition.

Applies to: SharePoint Foundation 2010

In this article
Property Value
Applies To
Remarks

var value = SP.RoleDefinition.get_description(); 
SP.RoleDefinition.set_description(value);

Property Value

Type: String

Applies To

SP.RoleDefinition Class

Exceptions

  • [System.InvalidOperationException]
    Site inherits permission levels from a parent site, and permission levels cannot be customized. Error code: -1.

Remarks

Its length must be equal to or less than 512.

See Also

Reference

SP.RoleDefinition Methods

SP.RoleDefinition Properties

SP Namespace