SPPolicy members
Represents the policy that is assigned to a user or external group.
The SPPolicy type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SPPolicy | Initializes a new instance of the SPPolicy class. |
Top
Properties
Name | Description | |
---|---|---|
DisplayName | Gets or sets the user or group display name for the policy. | |
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. | |
PolicyRoleBindings | Gets the collection of policy roles that are bound to the policy. | |
UpgradedPersistedProperties | Gets the collection of field names and values for fields that were deleted or changed. (Inherited from SPAutoSerializingObject.) | |
UserName | Gets the logon name of the user or external group that is associated with the policy. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Overwrite the equals so that when the object gets compared during restore we get a proper comparison operator. (Overrides Object.Equals(Object).) | |
Finalize | (Inherited from Object.) | |
GetHashCode | Returns the hashcode of the policy. (Overrides Object.GetHashCode().) | |
GetObjectData | Gets the serialized state of the object. (Inherited from SPAutoSerializingObject.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
OnDeserialization | Called immediately after the base class is deserialized from the file system cache or the database to do additional work. (Overrides SPAutoSerializingObject.OnDeserialization().) | |
ToString | (Inherited from Object.) | |
UpdateParent | Causes the containing SPPersistedObject, if one exists, to update its state. (Inherited from SPAutoSerializingObject.) |
Top