Share via


DocumentSharingManager.GetRoleDefinition method

Namespace:  Microsoft.SharePoint.Client.Sharing
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Shared Function GetRoleDefinition ( _
    context As ClientRuntimeContext, _
    role As Role _
) As RoleDefinition
'Usage
Dim context As ClientRuntimeContext
Dim role As Role
Dim returnValue As RoleDefinition

returnValue = DocumentSharingManager.GetRoleDefinition(context, _
    role)
public static RoleDefinition GetRoleDefinition(
    ClientRuntimeContext context,
    Role role
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.RoleDefinition

See also

Reference

DocumentSharingManager class

DocumentSharingManager members

Microsoft.SharePoint.Client.Sharing namespace