SPGroupCollection methods

The SPGroupCollection type exposes the following members.

  Name Description
Public method Add Adds a group to the collection of groups in a site collection.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetByID Returns a group from the collection based on the member ID of the group.
Public method GetByName Returns a cross-site group from the collection based on the name of the group.
Public method GetCollection([]) Returns a collection of groups from the collection based on the group IDs.
Public method GetCollection([]) Returns a collection of groups from the collection based on an array of names.
Public method GetEnumerator Gets an enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetTypedEnumerator<T> Returns a type-safe enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Remove(Int32) Removes the group at the specified index in the collection.
Public method Remove(String) Removes the group with the specified name from the collection.
Public method RemoveByID Removes the group with the specified member ID from the collection.
Public method ToString (Inherited from Object.)
Top

  Name Description
Explicit interface implemetation Private method ICollection.CopyTo Copies the elements of the collection to an array, starting at the specified array index. (Inherited from SPBaseCollection.)
Top
Show: