Account management
Note: This request requires administrator privilege
Method: GET/POST
Syntax:
parameter | value | Description |
|
|
|
method | add | Add an account to server. When using this method, |
|
| “username” field is necessary. It will use default value |
|
| of other fields if not specified. |
|
|
|
| delete | Remove an account from server. When using this |
|
| method, “username” field is necessary, and others are |
|
| ignored. |
|
|
|
| edit | Modify the account password and privilege. When |
|
| using this method, “username” field is necessary, and |
|
| other fields are optional. If not specified, it will keep |
|
| original settings. |
|
|
|
username | <name> | The name of user to add, delete or edit |
|
|
|
userpass | <value> | The password of new user to add or that of old user to |
|
| modify. The default value is an empty string. |
|
|
|
privilege | <value> | The privilege of user to add or to modify. The privilege |
|
| can be the addition of the following values. Ex: A user |
|
| with configure access can be assigned privilege as |
|
| privilege=conf. |
|
|
|
| conf | configuration privilege |
|
|
|
- 61 -
www.vivotek.com