Skip to content

Latest commit

 

History

History
36 lines (30 loc) · 673 Bytes

File metadata and controls

36 lines (30 loc) · 673 Bytes

Get User Roles

Get the role(s) of a user in a room. It can be used to identify key users in the workspace.

Name Requires Auth Permission Setting
getUserRoles Yes

Example Call

{
    "msg": "method",
    "method": "listEmojiCustom",
    "id": "42",
    "params": []
}

Example Response

{
    "msg": "result",
    "id": "4022",
    "result": [
        {
            "_id": "LFdhbcNHx5zsMA7T4",
            "roles": [
                "admin"
            ],
            "username": "test.rc"
        }
    ]
}