Re: How To retrieve the full user name, in Vista??



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
.



Relevant Pages

  • Re: Ordering information from a file
    ... I would like the program to retrieve the information the ... Roedy Green Canadian Mind Products ...
    (comp.lang.java.help)
  • Re: extract data from web page
    ... POST to retrieve a web page. ... Roedy Green Canadian Mind Products ...
    (comp.lang.java.programmer)
  • Re: test imap and pop3
    ... I can retrieve the messages. ... Do you know of any servers that can provide ... Roedy Green Canadian Mind Products ...
    (comp.lang.java.help)
  • Re: Reading multipart mime headers
    ... retrieve those. ... I'm using the apache package for handling file uploads ... Canadian Mind Products, Roedy Green. ... http://mindprod.com Java custom programming, consulting and coaching. ...
    (comp.lang.java.programmer)
  • Re: calculate day, hour , sec between dates
    ... I know how to retrieve the number of days: ... long daterange = dateEnd.getTime- dateBegin.getTime; ... Roedy Green Canadian Mind Products ...
    (comp.lang.java.programmer)