get_users()
Near Deprecation此操作会列出与当前角色关联的所有用户。
请求语法
python
get_users()
参数
无/A
返回类型:
tuple
返回:
一个 tuple,包含添加到当前角色的所有用户名称。
示例
python
from pymilvus import Role
# Get an existing role
role = Role(name="admin")
# List all users associated with the current role
users = role.get_users() # (admin, )
相关操作
以下操作与 get_users() 相关: