Partilhar via


SPPolicy Members

Include Protected Members
Include Inherited Members

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

The SPPolicy type exposes the following members.

Constructors

  Name Description
Public method SPPolicy Initializes a new instance of the SPPolicy class.

Top

Properties

  Name Description
Public property DisplayName Gets or sets the user or group display name for the policy.
Public property IsSystemUser Gets or sets a Boolean value that specifies whether the user identified by the policy is visible only as a system account within the SharePoint Foundation user interface and in the UserInfo database table.
Public property PolicyRoleBindings Gets the collection of policy roles that are bound to the policy.
Public property UpgradedPersistedProperties Gets the collection of field names and values for fields that were deleted or changed. (Inherited from SPAutoSerializingObject.)
Public property UserName Gets the logon name of the user or external group that is associated with the policy.

Top

Methods

  Name Description
Public method Equals (Overrides Object.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Overrides Object.GetHashCode().)
Public method GetObjectData Gets the serialized state of the object. (Inherited from SPAutoSerializingObject.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserialization Called immediately after the base class is deserialized from the file system cache or the database to do additional work. (Overrides SPAutoSerializingObject.OnDeserialization().)
Public method ToString (Inherited from Object.)
Protected method UpdateParent Causes the containing SPPersistedObject, if one exists, to update its state. (Inherited from SPAutoSerializingObject.)

Top

See Also

Reference

SPPolicy Class

Microsoft.SharePoint.Administration Namespace