SP.GroupCollection Methods

Applies to: SharePoint Foundation 2010

The following table lists the methods of the SP.GroupCollection class.

Methods

Name

Description

add

Adds a group to the collection of groups in a site collection.

getById

Returns a group from the collection based on the member ID of the group.

GroupCollection

Initializes a new instance of the SP.GroupCollection Class.

itemAt

remove

Removes the specified group from the collection.

Applies To

SP.GroupCollection Class

See Also

Reference

SP.GroupCollection Properties

SP Namespace