Hi All, I want to get the user name from the active directory. I am using following code: System.Security.Principal.WindowsIdentity wi = System.Security.Principal.WindowsIdentity.GetCurrent(); string[] ...