milvus-logo
LFAI
< Docs
  • Node
    • User

listUsers()

This method lists all users in Milvus.

Invocation

new milvusClient(MILUVS_ADDRESS).userManager.listUsers();

Parameters

ParameterDescriptionTypeRequired
timeoutAn optional duration of time in millisecond to allow for the RPC. Default is undefinedNumberFalse

Example

new milvusClient(MILUVS_ADDRESS).userManager.listUsers();

Return

{
  status: { error_code: 'Success', reason: '' },
  usernames: [ 'root','milvus' ],
}
Feedback

Was this page helpful?