Share via


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
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

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

value = instance.Order

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

See Also

Reference

RoleDefinition Class

RoleDefinition Members

Microsoft.SharePoint.Client Namespace