Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Announcements
Qlik® Product Spotlight: Discover what’s possible. Get more from our products.
See for yourself. Register today.
zagzebski
Contributor

getting user name in qlik sense cloud

Is it possible to capture the user name or another identifier of a user in qlik sense cloud via a function?

Zag

Tags (1)
1 Solution

Accepted Solutions
mov
Esteemed Contributor III

Re: getting user name in qlik sense cloud

I tried a quick test on cloud.  Added this line to the script:

LET vUser = OSUser();

After the reload, added two text boxes on the front end:

=OSUser()
=vUser

Both worked, that is the function worked both on the front end and in the script.

4 Replies
mov
Esteemed Contributor III

Re: getting user name in qlik sense cloud

Try function OSUser()

zagzebski
Contributor

Re: getting user name in qlik sense cloud

Thanks Michael - unfortunately that doesn't seem to work - the function is not recognized. Do you know if it should?

mov
Esteemed Contributor III

Re: getting user name in qlik sense cloud

I tried a quick test on cloud.  Added this line to the script:

LET vUser = OSUser();

After the reload, added two text boxes on the front end:

=OSUser()
=vUser

Both worked, that is the function worked both on the front end and in the script.

zagzebski
Contributor

Re: getting user name in qlik sense cloud

Thanks - worked!