LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get the full-name of the current log-in user (Fullname, not username)

I have the same question as this guy(see link below), but the "get_current_user.vi" dosnt work in my built application because it requires .NET 2.0.

 

This is the property value to access the current log-in user: System.DirectoryServices.AccountManagement.UserPrincipal.Current.DisplayName;

I have tried to get it through the .Net Constructor Node and call the "System.DirectoryServices.AccountManagement.dll"

I get neither to work.

 

I am using LabVIEW 2010 and .NET 4

 

 

http://forums.ni.com/t5/LabVIEW/Programmatically-accessing-the-Start-Menu-user-display-name-in/td-p/...

 

Regard Paul

0 Kudos
Message 1 of 1
(2,924 Views)