getGroup( )


Gets a group by ID.

The getGroup() function returns a Promise that resolves to a group whose ID matches the given ID.

Note: For SECRET groups, only site admins, group admins, and group members can see a group and its content.

Method Declaration
Copy
Method Parameters
groupIdstringRequired

ID of the group to retrieve.

Returns
Return Type:Promise<Group>
Was this helpful?
Yes
No