SP.RoleDefinition.order Property
Gets or sets a value that specifies the order position of the object in the site collection Permission Levels page.
Applies to: SharePoint Foundation 2010
var value = SP.RoleDefinition.get_order();
SP.RoleDefinition.set_order(value);
Property Value
Type: Int32
Applies To
Exceptions
- [System.InvalidOperationException]
The user cannot customize permission levels in a web site with inherited permission levels. Error code:-1.