Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
ilanbaruch
Specialist
Specialist

Qlik Saas - OsUser()

Hi all,

I'm new to Qlik Cloud ...

using OsUser() to message and guide users in UI.

in Saas i recieve somthing not familiar.. 

ilanbaruch_0-1625553510762.png

any ideas ?

advanced thanks 

12 Replies
AronC
Partner - Creator II
Partner - Creator II

Hi. @scottduthie Looking to solve same problem here. Did you manage to solve it? 
I would like tog get the email-address from OSUSER but I only use local Qlik accounts and have no external identity provider. In the user-section I can see the emails. 

Siciliani
Contributor III
Contributor III

The value returned in the cloud from OSUser() is the user subject. 

I was able to solve the problem by loading the user list into my app. You can get the code to pull the list from the Access Evaluator monitor app. 

Then you can use this function to get the e-mail.

=Only({<UserSubject={"$(=SubField(OSUser(),'=',-1))"}>}UserEmail)

You can replace UserEmail with UserName or any other field brought back from the REST API

 

AlexisVB
Partner - Contributor
Partner - Contributor

Bonjour à tous,

Je pense que la solution est connue maintenant mais je ne la vois pas dans cette discussion.

Sur Qlik Cloud pour obtenir l'adresse mail de la personne dont la session est active:

GetUserAttr('userEmail') 

Peut s'utiliser pour chacher/monter des feuilles de manière conditionnelle