SPPolicyCollection members

Represents a collection of SPPolicy objects.

The SPPolicyCollection type exposes the following members.

  Name Description
Public method SPPolicyCollection Reserved for internal use.
Top

  Name Description
Public property AnonymousPolicy Gets or sets the security policy for anonymous users.
Public property AuthenticationMode Gets the authentication mode that is supported by the policy collection.
Public property Count Gets the number of policies in the collection.
Public property Item[Int32] Gets the policy at the specified index in the collection.
Public property Item[String] Gets the policy from the collection based on the specified user or group name.
Public property UpgradedPersistedProperties Gets the collection of field names and values for fields that were deleted or changed. (Inherited from SPAutoSerializingObject.)
Top

  Name Description
Public method Add Creates a policy in the collection based on the specified user name and policy display name.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Returns an enumerator to iterate through the collection.
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(Int32) Removes the user or group from the collection based on the specified collection index.
Public method Remove(String) Removes the user or group from the collection based on the specified user or group name.
Public method ToString (Inherited from Object.)
Protected method UpdateParent Causes the containing SPPersistedObject, if one exists, to update its state. (Inherited from SPAutoSerializingObject.)
Top
Show: