> For the complete documentation index, see [llms.txt](https://docs.digitalsamba.com/reference/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digitalsamba.com/reference/sdk/properties/localuser.md).

# localUser

Gives you information about the local user who is inside the room.

```javascript
const user = sambaFrame.localUser;
console.log('Local user is:', user);

/*Here is how the JSON user object looks like:
{
   "id": "08c82f56-c670-4d36-bfe3-87a8cd0f7f29",
   "name": "John",
   "avatarColor": "#90c695",
   "role": "moderator",
   "kind": "local"
}*/
```
