LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

determine user name logged on PC with LV8??

Is it possible to determine who is logged on a PC with LabVIEW?
 
I would like to use the USER name of the person logged on to determine the way my VI will function. When they log on and run the program if Labview could see who is logged on them I could re-route my data to the correct location.
 
This will be on NT and XP machines, using the Novell Client.
 
 
 
Jeff D.

Certified Architect LabVIEW Champion DQMH Framework

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

You should be able to use the User Name property of the Application class in VI Server to get the current user of the Windows machine.

-D

Message 2 of 3
(2,559 Views)
Wow that was fast.. Yes that worked.. I tried it before my post, but did not seem right on my dev. pc.. I buitl a quick app and tried it on a Win2K machine and it did work..
 
Thanks!!!
 
 
Jeff D.

Certified Architect LabVIEW Champion DQMH Framework

0 Kudos
Message 3 of 3
(2,551 Views)