milvus-logo
LFAI
< 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.