🚀 Try Zilliz Cloud, the fully managed Milvus, for free—experience 10x faster performance! Try Now>>

milvus-logo
LFAI
< Docs
  • C#

SelectRoleAsync()

Gets information about a role, including optionally all its users.

Invocation

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

Parameters

ParameterDescriptionTypeRequired
roleNameThe name of the role to be selected.stringTrue
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 RoleResult instance containing information about the role, or null if the role does not exist.

Try Managed Milvus for Free

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

Get Started
Feedback

Was this page helpful?