SPRoleDefinition.Order Property

Specifies the order in which permission levels are displayed on the Permission Levels page for a site collection.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableAttribute> _
Public Property Order As Integer
    Get
    Set
'Usage
Dim instance As SPRoleDefinition
Dim value As Integer

value = instance.Order

instance.Order = value
[ClientCallableAttribute]
public int Order { get; set; }

Property Value

Type: System.Int32
A 32-bit integer that specifies the order.

Remarks

For default permission levels the Order property equals 0. If you do not specify an order when you create a role definition, then by default the property equals int.MaxValue (0x7FFFFFFF).

See Also

Reference

SPRoleDefinition Class

SPRoleDefinition Members

Microsoft.SharePoint Namespace