milvus-logo
LFAI
< Docs
  • Java

describeUser()

This operation describes a specific user.

public DescribeUserResp describeUser(DescribeUserReq request)

Request Syntax

describeUser(DescribeUserReq.builder()
    .userName(String userName)
    .build()
)

BUILDER METHODS:

  • userName(String userName)

    The name of the user to describe.

RETURN TYPE:

DescribeUserResp

RETURNS:

A DescribeUserResp object containing the details of the user.

PARAMETERS:

  • roles (List<String>) -

    A list of role names associated with the user.

EXCEPTIONS:

  • MilvusClientExceptions

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

Example

DescribeUserReq describeUserReq = DescribeUserReq.builder()
        .userName("test")
        .build();
DescribeUserResp describeUserResp = client.describeUser(describeUserReq);

Try Managed Milvus for Free

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

Get Started
Feedback

Was this page helpful?