I am using the "settings" part of wihu to give a user an interactive option to create a new primary user.
I pre-fill the dialog boxes with defaults for username/password/etc. That way, if no user input is detected, the program will continue and create a default user.
Is there a commandline parameter to enable "Add administrator rights to new user", or is it better to use the .ini file for setting these defaults?
If so, then how would i add a user to the Administrator group?
Another question, is it possible to remove/hide/disable the "load" button?
Page 1 of 1
commandline parameter /AddAdminRights?
#2
Posted 08 December 2004 - 02:48 PM
syntax_13 said:
Is there a commandline parameter to enable "Add administrator rights to new user", or is it better to use the .ini file for setting these defaults?
Although there is already such an option I added /group=Administrators|Users to add primary user to specified group.
An alternative way is to define a new user in [users] sections and set this to default:
[users] default = 0 user.0=Primary User group.0 = 1; Add Admin rights
I also added /DisableLoadMenu=0|1 to prevent a user from loading external INI files.
Benjamin Kalytta
#3
Posted 08 December 2004 - 03:24 PM
Thanks for adding this, tried it and works perfectly!
Share this topic:
Page 1 of 1



Help
Back to top









