SPWebApplication.PolicyRoles property

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.
Show: