milvus-logo
LFAI
< Docs
  • Java

dropUser()

This operation drops a user.

public void dropUser(DropUserReq request)

Request Syntax

dropUser(DropUserReq.builder()
    .userName(String userName)
    .build()
)

BUILDER METHODS:

  • userName(String userName)

    The name of the user to drop.

RETURNS:

void

EXCEPTIONS:

  • MilvusClientExceptions

    This exception will be raised when any error occurs during this operation.

Example

DropUserReq dropUserReq = DropUserReq.builder()
        .userName("test")
        .build();
client.dropUser(dropUserReq);
Feedback

Was this page helpful?