> For the complete documentation index, see [llms.txt](https://docs.streamavatars.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.streamavatars.com/lua-scripting-api/api-reference-and-tips/classes/app/getuserfromdata.md).

# getUserFromData

```lua
return function()
    local app = getApp();
    local user = app.getUserFromData('clonzeh');
    
    if user == nil then
        log('could not find target user');
        return;
    end
    
    if user.isActive == false then
        log('this is not an active user...');
        --this means you cannot modify live-settings on the avatar directly
        --such as the temporaryScale
    end
    
end
```
