milvus-logo
LFAI
< Docs
  • Java

listUsers()

This operation lists the names of all existing users.

public List<String> listUsers()

Request Syntax

listUsers();

RETURN TYPE:

List<String>

RETURNS:

A list of strings containing the user names.

EXCEPTIONS:

  • MilvusClientExceptions

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

Example

List<String> resp = client.listUsers();

Try Managed Milvus for Free

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

Get Started
Feedback

Was this page helpful?