milvus-logo
LFAI
< Docs
  • C#

SelectGrantForRoleAndObjectAsync()

Creates a role.

Invocation

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

Parameters

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

Return

This method does not return any value.

Feedback

Was this page helpful?