Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the role definition with the specified role type from the collection.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public Function GetByType ( _
roleType As RoleType _
) As RoleDefinition
'Usage
Dim instance As RoleDefinitionCollection
Dim roleType As RoleType
Dim returnValue As RoleDefinition
returnValue = instance.GetByType(roleType)
public RoleDefinition GetByType(
RoleType roleType
)
Parameters
- roleType
Type: Microsoft.SharePoint.Client.RoleType
Return value
Type: Microsoft.SharePoint.Client.RoleDefinition
Returns a RoleDefinition instance with the specified role type.
See also
Reference
RoleDefinitionCollection class