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
- context
Type: Microsoft.SharePoint.Client.ClientRuntimeContext
- role
Type: Microsoft.SharePoint.Client.Sharing.Role
Return value
Type: Microsoft.SharePoint.Client.RoleDefinition