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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Windows User

Hi Everybody,

Is there any way to return the windows connected user?

The OSUser() function return the NTNAME of Selection Access.

Thanks!

7 Replies
arulsettu
Master III
Master III

can you post what you get and what you need?

Not applicable
Author

I need a way to return the current Windows user.

arulsettu
Master III
Master III

what is output you are getting with OSUser() ?

arulsettu
Master III
Master III

for example if your output like this with OSUser()

   DOMAIN/ARUL.SETTU

try this

SubField('DOMAIN/arul.settu','/',2)

you will get only arul.settu

Chanty4u
MVP
MVP

=OsUser()

will give  u the same only

u can chk in my comouter properties.

user.PNG

Not applicable
Author

I will give you an exemple:

If I connect  in Windows with my user "fernando.martini" an then open the browser and connect in Qlikview with the user "arul.settu", the OSUser() function will return "arul.settu".


I need THE OPERATIONAL SYSTEM USER, in this case "fernando.martini".



Not applicable
Author

OSUser() return the user connected in Qlikview, not the Windows user.