syntax_13 Posted December 8, 2004 Share Posted December 8, 2004 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? Link to comment Share on other sites More sharing options...
BenjaminKalytta Posted December 8, 2004 Share Posted December 8, 2004 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 = 0user.0=Primary Usergroup.0 = 1; Add Admin rightsI also added /DisableLoadMenu=0|1 to prevent a user from loading external INI files.Benjamin Kalytta Link to comment Share on other sites More sharing options...
syntax_13 Posted December 8, 2004 Author Share Posted December 8, 2004 Thanks for adding this, tried it and works perfectly! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now