Skip to main content
Version: Next

MicrosoftGraphClient.getUsers()

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

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

Signature:

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

Parameters

Parameter

Type

Description

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>