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

milvus-logo
LFAI
< Docs
  • C#

RevokeRolePrivilegeAsync()

Revokes a privilege from a role.

Invocation

await milvusClient.RevokeRolePrivilegeAsync(roleName, object, objectName, privilege, cancellationToken = default);

Parameters

ParameterDescriptionTypeRequired
roleNameThe name of the role to be created.stringTrue
objectA string describing the object type on which the privilege is to be revoked, e.g. "Collection".stringTrue
objectNameA string describing the specific object on which the privilege will be revoked. Can be "*".stringTrue
privilegeA string describing the privilege to be revoked, e.g. "Search".stringTrue
cancellationTokenThe token to monitor for cancellation requests. The default value is CancellationToken.None.CancellationTokenFalse

Return

This method does not return any value.

Try Managed Milvus for Free

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

Get Started
Feedback

Was this page helpful?