From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

Showing results for 
Search instead for 
Did you mean: 

lookup string for current user


Anyone can tell me how can I get current user information(name, operator or developer or administrator...)? Whith what lookup string & vi?

    --- At custom UI program

    --- right after login





0 Kudos
Message 1 of 3

I'm not a LabVIEW guy, so I'm not going to be able to point you at the proper vi, but the string you want is located at "StationGlobals.TS.CurrentUser" to get the Current User Container that has all of the information about who is currently logged in. If you've accessed TestStand properties using LabVIEW before, then the vi you used to do that will work for this as well.


Hope this helps.



0 Kudos
Message 2 of 3

To get the user group, you have to loop through all of the groups and see if your user name is in that group.  


This VI should help:


I would also suggest looking at this thread:

0 Kudos
Message 3 of 3