milvus-logo
LFAI
< Docs
  • C#

CreateRoleAsync()

Creates a role.

Invocation

await milvusClient.CreateRoleAsync(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?