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

Milvus
Zilliz
< Docs
  • C#

ListGrantsForRoleAsync()

Lists a grant info for the role and the specific object.

Invocation

await milvusClient.ListGrantsForRoleAsync(roleName, cancellationToken = default);

Parameters

ParameterDescriptionTypeRequired
roleNameThe name of the role.stringTrue
cancellationTokenThe token to monitor for cancellation requests. The default value is CancellationToken.None.CancellationTokenFalse

Return

A list of GrantEntity instances describing the grants assigned to the role.

Try Managed Milvus for Free

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

Get Started
Feedback

Was this page helpful?