MsGraphGroupsAndUsersClient.ListUsersAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
List Users
public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.MsGraphGroupsAndUsers.Models.ListUsersResponse> ListUsersAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member ListUsersAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.MsGraphGroupsAndUsers.Models.ListUsersResponse>
override this.ListUsersAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.MsGraphGroupsAndUsers.Models.ListUsersResponse>
Public Overridable Function ListUsersAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of ListUsersResponse)
Parameters
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The List Users response.
Remarks
Retrieve all users in the organization (Microsoft Entra ID Tenant)