
03-17-2008, 07:45 AM
|
 |
Moderator
|
|
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,412
|
|
|
Login user name - for all platforms.
Hi all,
I want to find the user login name of the computer at the time. So I do this.
com.sun.security.auth.module.NTSystem NTSystemUser = new
com.sun.security.auth.module.NTSystem();
But I know this is specific for Windows platform, not for the Linux....
Since Java true platform independent I want to write a code which work on every platform. Any suggestions.
Eranga.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Has someone helped you? Then you can To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. their helpful post.
Want to make your IDE the best? To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|