Re: How To retrieve the full user name, in Vista??
- From: Roedy Green <see_website@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 27 Dec 2007 23:33:28 GMT
On Fri, 28 Dec 2007 00:15:55 +0100, Jan Burse <janburse@xxxxxxxxxxx>
wrote, quoted or indirectly quoted someone who said :
Dear All
With the following code:
System.getProperty("user.name");
I can retrieven the user name. But this is
not the full name that is for example displayed
in the login screen and in the start menu by
Windows Vista.
Is there some library call to retrieve
the full name in JDK 1.6+?
Best Regards
if you don't get a better answer, find out how to do it is C++ and
write some JNI. I had to do this to get the Windows-specific VolSer.
See http://mindprod.com/products1.html#VOLSER
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
.
- Follow-Ups:
- References:
- How To retrieve the full user name, in Vista??
- From: Jan Burse
- How To retrieve the full user name, in Vista??
- Prev by Date: How To retrieve the full user name, in Vista??
- Next by Date: Re: question about the toString Method
- Previous by thread: How To retrieve the full user name, in Vista??
- Next by thread: Re: How To retrieve the full user name, in Vista??
- Index(es):
Relevant Pages
|
|