SPPolicyRoleCollection Members
Include Protected Members
Include Inherited Members
Represents a collection of SPPolicyRole objects.
The SPPolicyRoleCollection type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
SPPolicyRoleCollection | Reserved for internal use. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
Count | Gets the number of policies in the collection. |
![]() |
Item[Int32] | Gets the policy role object at the specified index in the collection. |
![]() |
Item[String] | Gets the policy role object with the specified name in the collection. |
![]() |
UpgradedPersistedProperties | Gets the collection of field names and values for fields that were deleted or changed. (Inherited from SPAutoSerializingObject.) |
![]() |
Xml | Gets an XML representation of the policy role collection. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Add(String, String) | Adds a policy role to the collection based on the specified policy role name and description. |
![]() |
Add(String, String, SPBasePermissions, SPBasePermissions) | Adds a policy role to the collection based on the specified policy role name, description, granted rights, and denied rights. |
![]() |
Delete(Int32) | Deletes the policy role at the specified index in the collection. |
![]() |
Delete(String) | Deletes the policy role with the specified name. |
![]() |
DeleteById | Deletes the policy role with the specified ID. |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetById | Returns the policy role with the specifed GUID from the collection. |
![]() |
GetEnumerator | Returns an enumerator to iterate through the collection. |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetObjectData | Gets the serialized state of the object. (Inherited from SPAutoSerializingObject.) |
![]() |
GetSpecialRole | Returns a default policy role based on the specified policy role type. |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
OnDeserialization | Called after the object has been deserialized from the file system cache or the database. (Inherited from SPAutoSerializingObject.) |
![]() |
ToString | (Inherited from Object.) |
![]() |
UpdateParent | Causes the containing SPPersistedObject, if one exists, to update its state. (Inherited from SPAutoSerializingObject.) |
Top