SPPolicyRoleCollection methods
The SPPolicyRoleCollection type exposes the following members.
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