Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Include Protected Members
Include Inherited Members
Represents a collection of SPGroup objects.
The SPGroupCollection type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
![]() |
Count | Gets the number of groups in the collection. (Overrides SPBaseCollection.Count.) |
![]() |
Item[Int32] | Gets the group object at the specified index in the collection. |
![]() |
Item[String] | Gets the group object that has the specified name from the collection. |
![]() |
RetrieveAllRoles | Gets or sets a Boolean value that specifies whether to preload roles for users to increase performance. (Inherited from SPMemberCollection.) |
![]() |
UpgradedPersistedProperties | (Inherited from SPAutoSerializingObject.) |
![]() |
Web | Gets the Web site to which the collection belongs. (Inherited from SPMemberCollection.) |
![]() |
Xml | Gets the properties of the collection as XML. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Add | Adds a group to the collection of groups in a site collection. |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetByID | Returns a group from the collection based on the member ID of the group. |
![]() |
GetCollection([]) | Returns a collection of groups from the collection based on the group IDs. |
![]() |
GetCollection([]) | Returns a collection of groups from the collection based on an array of names. |
![]() |
GetEnumerator | Gets an enumerator to iterate through the collection. (Inherited from SPBaseCollection.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetObjectData | (Inherited from SPAutoSerializingObject.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
GetTypedEnumerator<T> | Returns a type-safe enumerator to iterate through the collection. (Inherited from SPBaseCollection.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
OnDeserialization | (Inherited from SPAutoSerializingObject.) |
![]() |
Remove(Int32) | Removes the group at the specified index in the collection. |
![]() |
Remove(String) | Removes the group with the specified name from the collection. |
![]() |
RemoveByID | Removes the group with the specified member ID from the collection. |
![]() |
ToString | (Inherited from Object.) |
![]() |
UpdateParent | (Inherited from SPAutoSerializingObject.) |
Top
Fields
| Name | Description | |
|---|---|---|
![]() |
m_arrRolesData | Store the role definition data as a two-dimensional array. (Inherited from SPMemberCollection.) |
![]() |
m_dwCountRoles | Store the number of role definitions. (Inherited from SPMemberCollection.) |
![]() |
m_role | Store the role definition to which the collection belongs. (Inherited from SPMemberCollection.) |
![]() |
m_web | Store the Web site to which the collection belongs. (Inherited from SPMemberCollection.) |
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
![]() ![]() |
ICollection.CopyTo | Copies the elements of the collection to an array, starting at the specified array index. (Inherited from SPBaseCollection.) |
![]() ![]() |
ICollection.IsSynchronized | Gets a Boolean value that indicates whether access to the collection is synchronized or thread-safe. (Inherited from SPBaseCollection.) |
![]() ![]() |
ICollection.SyncRoot | Gets an object that is used to synchronize access to the collection. (Inherited from SPBaseCollection.) |
Top
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)