SPPolicy class
Collapse the table of content
Expand the table of content

SPPolicy class

Represents the policy that is assigned to a user or external 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

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.
© 2016 Microsoft