ACCOUNT_USER_N
Description
Get or Set user index Naccount name and password. Only root and the same user index account have authorized to execute this command.
When write, the account name has not be the same as the root account name.
Only the root-level account could have right to get or set all settings in the device. The user-level account could get the video and audio stream and some system information only.
Because there are 10 user-level accounts in the device, the last character, N, in these command indicates the user index of the user-level account and its range is in 1~10.
If the CHANNEL=n was set with this URL to the Multi-Channel device, this URL is read-only command and the Router's root ACCOUNT settings will be returned.
Input Argument
n,m
where
n : Character string (<32 bytes) for user index N account name
m : Character string (< 64 bytes) for user index N account password
Attribute
Return of Message
ACCOUNT_USER_N=','
OK: ACCOUNT_USER_N='user,123'
or
ERROR: ACCOUNT_USER_N=','
Applicability
Status
This URL is new command for replacing the URL ACCOUNT_USER_NAME_N and ACCOUNT_USER_PASSWORD_N
See Also
ACCOUNT, ACCOUNT_ROOT_NAME, ACCOUNT_ROOT_PASSWORD, ACCONT_ROOT, ACCOUNT_USER_NAME_N, ACCOUNT_USER_PASSWORD_N
Example
http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&ACCOUNT_USER_N
or
http://ip:port/cgi-bin/cmd/system?ACCOUNT_USER_N
http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&ACCOUNT_USER_N=user,123
or
http://ip:port/cgi-bin/cmd/system?ACCOUNT_USER_N=user,123
Back to