User Management through the MAPI
Apply to: S64eV2, EVE series, Ultimo series.
Â
Switch user management (= user login) on/off
http://<ip>/params/set.cgi?Services.UserManagement.AuthenticationEnable=<value>
Possible values: True, False
Â
Retrieve the list of users:
http://<ip>/params/get.cgi?Services.UserManagement.Users
The response will be: [],[<username1>,<accesslevel1>,<password_hash1>],[<username2>,<accesslevel2>,<password_hash2>],…etc
The passwords can not be retrieved as clear text, only as hashes.
Â
Add a user:
Possible values for <accesslevel> are: Anybody, Viewer, Operator, Admin, Max
Â
Change a user level while retaining the current password:
http://<ip>/params/set.cgi?Services.UserManagement.StoreUser=[],[<username>,<accesslevel>]
Possible values for <accesslevel> are: Anybody, Viewer, Operator, Admin, Max
Â
Change a password:
Possible values for <accesslevel> are: Anybody, Viewer, Operator, Admin, Max
Â
Delete a user:
http://<ip>/params/set.cgi?Services.UserManagement.DeleteUser=<username>
Â
Changing a user name (while retaining the password) is not possible. A new user must be created in that case.
Â
Some examples:
http://10.11.12.13/params/set.cgi?Services.UserManagement.AuthenticationEnable=True (set user login on)
http://10.11.12.13/params/get.cgi?Services.UserManagement.Users (get a list of users)
http://10.11.12.13/params/set.cgi?Services.UserManagement.StoreUser=[],[ExampleUser,Admin,pass1234] (add a user with name ‘ExampleUser’, level Admin, password ‘pass1234’)
http://10.11.12.13/params/set.cgi?Services.UserManagement.StoreUser=[],[ExampleUser,Viewer] (change the level of ‘ExampleUser’ to Viewer)
http://10.11.12.13/params/set.cgi?Services.UserManagement.StoreUser=[],[ExampleUser,Operator,newpass12345] (change the level of ‘ExampleUser’ to Operator, and password ‘newpass12345’)
http://10.11.12.13/params/set.cgi?Services.UserManagement.DeleteUser=ExampleUser (delete the user ‘ExampleUser’)