Skip to main content

MicrosoftGraphClient.getGroupMembers()

Home > @backstage/plugin-catalog-backend-module-msgraph > MicrosoftGraphClient > getGroupMembers

Get a collection of User belonging to a Group from Graph API and return as AsyncIterable

Signature:

getGroupMembers(groupId: string, query?: ODataQuery, queryMode?: 'basic' | 'advanced'): AsyncIterable<GroupMember>;

Parameters

ParameterTypeDescription
groupIdstringThe unique identifier for the Group resource
queryODataQuery(Optional)
queryMode'basic' | 'advanced'(Optional)

Returns:

AsyncIterable<GroupMember>