SPPolicyCollection members
Represents a collection of SPPolicy objects.
The SPPolicyCollection type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SPPolicyCollection | Reserved for internal use. |
Top
Properties
Name | Description | |
---|---|---|
AnonymousPolicy | Gets or sets the security policy for anonymous users. | |
AuthenticationMode | Gets the authentication mode that is supported by the policy collection. | |
Count | Gets the number of policies in the collection. | |
Item[Int32] | Gets the policy at the specified index in the collection. | |
Item[String] | Gets the policy from the collection based on the specified user or group name. | |
UpgradedPersistedProperties | Gets the collection of field names and values for fields that were deleted or changed. (Inherited from SPAutoSerializingObject.) |
Top
Methods
Name | Description | |
---|---|---|
Add | Creates a policy in the collection based on the specified user name and policy display name. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetEnumerator | Returns an enumerator to iterate through the collection. | |
GetHashCode | (Inherited from Object.) | |
GetObjectData | Gets the serialized state of the object. (Inherited from SPAutoSerializingObject.) | |
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.) | |
Remove(Int32) | Removes the user or group from the collection based on the specified collection index. | |
Remove(String) | Removes the user or group from the collection based on the specified user or group name. | |
ToString | (Inherited from Object.) | |
UpdateParent | Causes the containing SPPersistedObject, if one exists, to update its state. (Inherited from SPAutoSerializingObject.) |
Top