RoleDefinitionCollection.GetByType Method
Specifies the types of roles that are available for users and groups.
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 GetByType ( _
roleType As RoleType _
) As RoleDefinition
'Usage
Dim instance As RoleDefinitionCollection
Dim roleType As RoleType
Dim returnValue As RoleDefinition
returnValue = instance.GetByType(roleType)
[RemoteAttribute]
public RoleDefinition GetByType(
RoleType roleType
)
Parameters
- roleType
Type: Microsoft.SharePoint.Client.RoleType
Return Value
Type: Microsoft.SharePoint.Client.RoleDefinition
Returns a RoleDefinition instance representing the types of roles that are available for users and groups.
See Also
Reference
RoleDefinitionCollection Class