Get User Roles
- Print
- DarkLight
- PDF
Get User Roles
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Get the role(s) of a user in a room. It can be used to identify key users in the workspace.
Method | Requires Auth |
---|---|
| Yes |
Example call
{
"msg": "method",
"method": "getUserRoles",
"id": "42",
"params": []
}
Example response
{
"msg": "result",
"id": "4022",
"result": [
{
"_id": "LFdhbcNHx5zsMA7T4",
"roles": [
"admin"
],
"username": "test.rc"
}
]
}
Was this article helpful?