Partager via


RoleAssignment Class

Defines the securable object role assignments for a user or group on the Web site, list, or list item.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Client.ClientObject
    Microsoft.SharePoint.Client.RoleAssignment

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
<ScriptTypeAttribute("SP.RoleAssignment", ServerTypeId := "{07da03be-4d19-48f3-9c5f-7c67b134a93b}")> _
Public Class RoleAssignment _
    Inherits ClientObject
'Usage
Dim instance As RoleAssignment
[ScriptTypeAttribute("SP.RoleAssignment", ServerTypeId = "{07da03be-4d19-48f3-9c5f-7c67b134a93b}")]
public class RoleAssignment : ClientObject

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

RoleAssignment Members

Microsoft.SharePoint.Client Namespace