milvus-logo
LFAI
< Docs

list_usernames()

This method lists all usernames on the current Milvus instance.

Invocation

list_usernames(using="default")

Parameters

ParameterDescriptionTypeRequired
usingAlias of the Milvus connection to be attached toStringFalse

Return

Returns a list of user names.

Example

from pymilvus import connections, utility
connections.connect()
users = utility.list_usernames()
print(f"users in Milvus: {users}")

Try Managed Milvus for Free

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

Get Started
Feedback

Was this page helpful?