How can i get the DomainName\AccountName with the .NET Framework?
.net, account, dns, vb.net
Solution
System.Security.Principal.WindowsIdentity.GetCurrent().Name;
Problem
How can i get the DomainName\AccountName as string with the .NET Framework?
.net, account, dns, vb.net
System.Security.Principal.WindowsIdentity.GetCurrent().Name;
How can i get the DomainName\AccountName as string with the .NET Framework?