listUsers()
This method lists all users in Milvus.
Invocation
new milvusClient(MILUVS_ADDRESS).userManager.listUsers();
Parameters
Parameter | Description | Type | Required |
---|---|---|---|
timeout | An optional duration of time in millisecond to allow for the RPC. Default is undefined | Number | False |
Example
new milvusClient(MILUVS_ADDRESS).userManager.listUsers();
Return
{
status: { error_code: 'Success', reason: '' },
usernames: [ 'root','milvus' ],
}