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.

Feedback

Was this page helpful?