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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting the currently logged in NT user name

Status
Not open for further replies.

timtrust123

Programmer
Joined
Dec 19, 2003
Messages
19
Location
GB
Hi
I'm looking for a way to get the NT username of the current user currently logged into the pc.
Any idea which object can help me?
Thanks
Tim
 
System.getProperty("user.name");

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top