From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

get user group

Hi All,

How can I obtain the user group by using c# code ?

when user is log in I want to show on textbox the user name and the group privilege.

Tnx

 

0 Kudos
Message 1 of 2
(3,811 Views)

There are a couple of pictures in the following thread, use the same methods and properties in your c# code:

 

http://forums.ni.com/t5/NI-TestStand/get-group-name-of-currently-logged-in-user/m-p/595452/highlight...


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 2 of 2
(3,809 Views)