On 10.03.2011 09:03, Zongbo Zhang wrote:
Hi All,
Writiing a java app, needs to change the user name, I know it can be manually done
through Tools->option->user data.
Which part of the API has some to do with this?
Will appreciate your help, Look forward to hearing from you!
You need to create a ConfigurationAccess object for the path
org.openoffice.UserProfile. The user name is the property
"Data/givenname" and "Data/sn" for first and last name.
Please have a look at
officecfg/registry/schema/org/openoffice/UserProfile.xcs or the
UserProfile.xcu in your user profile for information about other properties.
Regards,
Mathias
--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Oracle: http://blogs.sun.com/GullFOSS
Please don't reply to "nospamfor...@gmx.de".
I use it for the OOo lists and only rarely read other mails sent to it.
--
-----------------------------------------------------------------
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help