Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get logon credentials 2

Status
Not open for further replies.

Saturn57

Programmer
Aug 30, 2007
275
0
0
CA
I have an application that uses integrated security. How can I retrieve the user name loged in and assign it to a test box
 
Check out the System.Environment class, particularly the UserName and UserDomainName properties.

[small]----signature below----[/small]
The author of the monograph, a native of Schenectady, New York, was said by some to have had the highest I.Q. of all the war criminals who were made to face a death by hanging. So it goes.

My Crummy Web Page
 
Can you help me to see where to get info on variables for System.Environment.class. I'm rather green.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top