# GetUserAttr Script and chart function

This function returns user attributes, including email address, subject, and groups, for a selected application. It can be used in both the data load script and in a chart expression.

If you use this function in Qlik Sense Client-Managed, it returns empty data values. Therefore, you can use the function to develop load scripts in Qlik Sense Client-Managed without encountering errors, to later upload the applications to Qlik Cloud.

To access the full documentation for the Qlik Cloud function, see [GetUserAttr - script and chart function](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/SystemFunctions/GetUserAttr.htm).