This is how to retrieve the username for the currently logged in user:
WindowsIdentity myIdentity = WindowsIdentity.GetCurrent(); string username = myIdentity.Name;
Technobabble from a .Net developer on the loose…
This is how to retrieve the username for the currently logged in user:
WindowsIdentity myIdentity = WindowsIdentity.GetCurrent(); string username = myIdentity.Name;