SPGroupCollection methods
The SPGroupCollection type exposes the following members.
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. | |
GetByName | Returns a cross-site group from the collection based on the name 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.) | |
GetType | (Inherited from Object.) | |
GetTypedEnumerator<T> | Returns a type-safe enumerator to iterate through the collection. (Inherited from SPBaseCollection.) | |
MemberwiseClone | (Inherited from Object.) | |
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.) |
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.) |
Top