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.

Try Managed Milvus for Free

Zilliz Cloud is hassle-free, powered by Milvus and 10x faster.

Get Started
Feedback

Was this page helpful?