Compartir a través de


RoleAssignmentCollection.GetByPrincipal Method

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 Function GetByPrincipal ( _
    principalToFind As Principal _
) As RoleAssignment
'Usage
Dim instance As RoleAssignmentCollection
Dim principalToFind As Principal
Dim returnValue As RoleAssignment

returnValue = instance.GetByPrincipal(principalToFind)
[RemoteAttribute]
public RoleAssignment GetByPrincipal(
    Principal principalToFind
)

Parameters

Return Value

Type: Microsoft.SharePoint.Client.RoleAssignment
Returns RoleAssignment.

See Also

Reference

RoleAssignmentCollection Class

RoleAssignmentCollection Members

Microsoft.SharePoint.Client Namespace