SP.RoleDefinitionCollection.getByType(roleType) Method
Applies to: SharePoint Foundation 2010
Specifies the types of roles that are available for users and groups.
var value = SP.RoleDefinitionCollection.getByType(roleType);
Parameters
- roleType
Returns a SP.RoleDefinition Class instance representing the types of roles that are available for users and groups.
Type: SP.RoleType
Return Value
Type: SP.RoleDefinition
Applies To
SP.RoleDefinitionCollection Class
See Also
Reference
SP.RoleDefinitionCollection Methods