RoleDefinition.Order property
Gets or sets a value that specifies the order position of the object in the site collection Permission Levels page.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Property Order As Integer
Get
Set
'Usage
Dim instance As RoleDefinition
Dim value As Integer
value = instance.Order
instance.Order = value
public int Order { get; set; }
Property value
Type: System.Int32
Returns a Int32 instance representing the order position of the object in the site collection Permission Levels page.
Exceptions
Exception | Condition |
---|---|
[System.InvalidOperationException] | The user cannot customize permission levels in a web site with inherited permission levels. Error code:-1. |