Compartilhar via


Web.RoleDefinitions Property

Gets the collection of role definitions for the Web site.

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 ReadOnly Property RoleDefinitions As RoleDefinitionCollection
    Get
'Usage
Dim instance As Web
Dim value As RoleDefinitionCollection

value = instance.RoleDefinitions
[RemoteAttribute]
public RoleDefinitionCollection RoleDefinitions { get; }

Property Value

Type: Microsoft.SharePoint.Client.RoleDefinitionCollection
A RoleDefinitionCollection object that represents the role definitions.

See Also

Reference

Web Class

Web Members

Microsoft.SharePoint.Client Namespace