you can use system.Environment.UserName
to get the UserName and system.Environment.UserDomainName
to get the DomainName.
Hope that helps.
you can use system.Environment.UserName
to get the UserName and system.Environment.UserDomainName
to get the DomainName.
Hope that helps.