This documentation is archived and is not being maintained.

SPPolicy Class

Windows SharePoint Services 3

Represents the policy that is assigned to a user or group.

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

[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SPPolicy : SPAutoSerializingObject

Each user or group in the policy is represented by a policy object. A policy object defines the binding of a user or group to one or more policy roles.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.