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)

Syntax

'Declaration
Public Property Order As Integer
    Get
    Set
'Usage
Dim instance As SPRoleDefinition
Dim value As Integer

value = instance.Order

instance.Order = value
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