Assign userdata from a script

Issues with installing under all versions of MS Windows
Post Reply
natestout
Posts: 1
Joined: Tue Jan 08, 2008 8:40 pm

Assign userdata from a script

Post by natestout »

Is there a way to assign the user data using a script (Or other automated method?)

We would like to setup a default profile for our terminal server users, and then when they login, assign the username, title, etc. (basically anything on the Tools->options-> user data screen) from active directory so they do not have to reenter it. I know how to get the information from AD, just not how to automate it into open office. (we could do this with ms office)
User avatar
Hagar Delest
Moderator
Posts: 33366
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Assign userdata from a script

Post by Hagar Delest »

The user data information seem to be stored in the UserProfile.xcu file located in the OOo user profile : \Documents and settings\<user>\Application data\OpenOffice.org2\user\registry\data\org\openoffice.

The script should create that file with the right data. Use an already created user to see what's the file structure.

Thanks to add '[Solved]' in your first post title (edit button) if your issue has been fixed.
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE Faye) and 24.8 portable on Windows 11.
Post Reply