Skip to main content

MicrosoftGraphClient.getGroupUserMembers()

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

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

Signature:

getGroupUserMembers(groupId: string, query?: ODataQuery, queryMode?: 'basic' | 'advanced'): AsyncIterable<MicrosoftGraph.User>;

Parameters

Parameter

Type

Description

groupId

string

The unique identifier for the Group resource

query

ODataQuery

(Optional) OData Query ODataQuery

queryMode

'basic' | 'advanced'

(Optional) Mode to use while querying. Some features are only available at "advanced".

**Returns:**

AsyncIterable<MicrosoftGraph.User>