MSFN Forum: commandline parameter /AddAdminRights? - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

commandline parameter /AddAdminRights? Rate Topic: -----

#1 User is offline   syntax_13 

  • Newbie
  • Group: Members
  • Posts: 27
  • Joined: 31-August 03

Posted 08 December 2004 - 01:32 PM

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?


#2 User is offline   BenjaminKalytta 

  • Developer
  • PipPipPipPip
  • Group: Members
  • Posts: 609
  • Joined: 08-June 04

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 User is offline   syntax_13 

  • Newbie
  • Group: Members
  • Posts: 27
  • Joined: 31-August 03

Posted 08 December 2004 - 03:24 PM

Thanks for adding this, tried it and works perfectly!

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy