milvus-logo
LFAI
< Docs
  • C#

RemoveUserFromRoleAsync()

Removes a user from a role.

Invocation

await milvusClient.RemoveUserFromRoleAsync(username, roleName, cancellationToken = default);

Parameters

ParameterDescriptionTypeRequired
usernameThe name of the user to be removed from the role.stringTrue
roleNameThe name of the role from which the user is to be removed.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?