ACCOUNT_USER_NAME_N is for user N account name access.
ACCOUNT_USER_PASSWORD_N is for user N account password access.
Only root and the same user index account have authorized to execute this command.When write, the user account name has be not the same as the root account name.
The URL USER_ACCOUNT_N could access user-level account N name and password at the same time. That is more efficient then these two URLs.
The user account is valid if only if the condition of ((strlen(name) > 0) && (strlen(pwd) > 0)) is true.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.
If the CHANNEL=n was set with this URL to the multiple channel video encoders, this URL is read-only command and the Router's user account N settings will be returned.
character string (<32 bytes for name and < 64 bytes for password)
The valid characters for account name are defined in the Valid Character in Login Name section in Valid Characters in URI document.
The valid characters for account password are defined in the Valid Character in Login Password in Valid Characters in URI document.
When set the NULL string in the input argument, the associated user account entry becomes invalid.
For example, ACCOUNT_USER_NAME_1='' will empty the user account 1 name and invalid user account 1 entry no matter the user account 1 password is empty or not.
ACCOUNT_USER_NAME_N=''
ACCOUNT_USER_PASSWORD_N=''
OK: ACCOUNT_USER_NAME_N=''
OK: ACCOUNT_USER_PASSWORD_N=''
or
ERROR: ACCOUNT_USER_NAME_N=''
ERROR: ACCOUNT_USER_PASSWORD_N=''
This URL will be obsolete and replaced by ACCOUNT_USER_N
ACCOUNT, ACCOUNT_ROOT_NAME, ACCOUNT_ROOT_PASSWORD, ACCONT_ROOT, ACCOUNT_USER_N
http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&ACCOUNT_USER_NAME_N
http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&ACCOUNT_USER_PASSWORD_N
or
http://ip:port/cgi-bin/cmd/system?ACCOUNT_USER_NAME_N
http://ip:port/cgi-bin/cmd/system?ACCOUNT_USER_PASSWORD_N
where N could be from 1 to 10.
http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&ACCOUNT_USER_NAME_N=''
http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&ACCOUNT_USER_PASSWORD_N=''
or
http://ip:port/cgi-bin/cmd/system?ACCOUNT_USER_NAME_N=''
http://ip:port/cgi-bin/cmd/system?ACCOUNT_USER_PASSWORD_N=''