listGroupMembers( )

Lists all members of a group.

The listGroupMembers() function returns a Promise that resolves to a list of up to 100 group members. Sorts by default to joinedDate in descending order.

Note: For SECRET groups, only site admins, group admins, and group members can see the list of group members.

Method Declaration
Copy
Method Parameters
groupIdstringRequired

Group ID.


optionsListGroupMembersOptions

Paging options.

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