SPPolicyRole members

Defines the rights granted and denied to a single policy role.

The SPPolicyRole type exposes the following members.

Constructors

  Name Description
Public method SPPolicyRole Initializes a new instance of the SPPolicyRole class with no rights denied or granted.

Top

Properties

  Name Description
Public property DenyRightsMask Gets or sets the rights that are denied through the policy role.
Public property Description Gets or sets a description for the policy role.
Public property GrantRightsMask Gets or sets the rights that are granted through the policy role.
Public property Id Gets the GUID of the policy role.
Public property IsSiteAdmin Gets or sets a Boolean value that specifies whether the policy role grants site-collection administrator status.
Public property IsSiteAuditor Gets or sets a Boolean value that specifies whether the policy role grants site-collection auditor status.
Public property Name Gets or sets the name of the policy role.
Public property Type Gets the role type of the policy role.
Public property UpgradedPersistedProperties Gets the collection of field names and values for fields that were deleted or changed. (Inherited from SPAutoSerializingObject.)
Public property Xml Gets an XML representation of the policy role.

Top

Methods

  Name Description
Public method Equals Overwrite the equals so that when the object gets compared during restore we get a proper comparison operator. (Overrides Object.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Returns the hashcode of the policy. (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 after the object has been deserialized from the file system cache or the database. (Inherited from SPAutoSerializingObject.)
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

SPPolicyRole class

Microsoft.SharePoint.Administration namespace