Share via


SPPolicyRoleCollection.GetSpecialRole Method

Returns a default policy role based on the specified policy role type.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Function GetSpecialRole ( _
    type As SPPolicyRoleType _
) As SPPolicyRole
'Usage
Dim instance As SPPolicyRoleCollection
Dim type As SPPolicyRoleType
Dim returnValue As SPPolicyRole

returnValue = instance.GetSpecialRole(type)
public SPPolicyRole GetSpecialRole(
    SPPolicyRoleType type
)

Parameters

Return Value

Type: Microsoft.SharePoint.Administration.SPPolicyRole
An SPPolicyRole object that represents the policy role.

See Also

Reference

SPPolicyRoleCollection Class

SPPolicyRoleCollection Members

Microsoft.SharePoint.Administration Namespace