Share via


SPPolicy.SPPolicyRoleBindingCollection members

Represents the collection of policy roles through which each user or group is bound to a policy.

The SPPolicy.SPPolicyRoleBindingCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of policy roles in the binding. (Overrides SPBaseCollection.Count.)
Public property Item[Int32] Gets the policy role at the specified index in the collection.
Public property Item[SPPolicyRole] Gets the policy role for the specified policy role.
Public property UpgradedPersistedProperties Gets the collection of field names and values for fields that were deleted or changed. (Inherited from SPAutoSerializingObject.)

Top

Methods

  Name Description
Public method Add Adds the specified policy role to the binding collection.
Public method AddById Adds the policy role with the specified GUID to the binding collection.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
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 Remove Removes the specified policy role from the binding collection.
Public method RemoveAll Removes all policy role bindings from the policy.
Public method RemoveById Removes the specified policy role from the policy based on the specified GUID.
Public method ToString Returns a list of the policy roles that are bound to the containing policy. (Overrides Object.ToString().)
Protected method UpdateParent Causes the containing SPPersistedObject, if one exists, to update its state. (Inherited from SPAutoSerializingObject.)

Top

See also

Reference

SPPolicy.SPPolicyRoleBindingCollection class

Microsoft.SharePoint.Administration namespace