milvus-logo
LFAI
< Docs
  • C#

SelectAllRolesAsync()

Gets information about all roles defined in Milvus, including optionally all their users.

Invocation

await milvusClient.SelectAllRolesAsync(includeUserInfo = true, cancellationToken = default);

Parameters

ParameterDescriptionTypeRequired
includeUserInfoWhether to include user information in the results.boolFalse
cancellationTokenThe token to monitor for cancellation requests. The default value is CancellationToken.None.CancellationTokenFalse

Return

A list of RoleResult instances containing information about all the roles.