This documentation is archived and is not being maintained.

SPWebApplication.PolicyRoles Property

Windows SharePoint Services 3

Gets the collection of policy roles that are defined for the Web application.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public SPPolicyRoleCollection PolicyRoles { get; }

Property Value

Type: Microsoft.SharePoint.Administration.SPPolicyRoleCollection
An SPPolicyRoleCollection object that represents the collection of policy roles.