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

milvus-logo
LFAI
< Docs
  • C#

SelectUserAsync()

Gets information about a user, including optionally all its roles.

Invocation

await milvusClient.SelectUserAsync(username, includeRoleInfo = true, cancellationToken = default);

Parameters

ParameterDescriptionTypeRequired
usernameThe name of the user to be selected.stringTrue
includeRoleInfoWhether to include role information in the results.boolFalse
cancellationTokenThe token to monitor for cancellation requests. The default value is CancellationToken.None.CancellationTokenFalse

Return

A UserResult instance containing information about the user, or null if the user 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?