Toshiba Toshiba 用户手册
TOSHIBA Network Camera - IK-WB15A - SDK (Ver 1.00.SC)
©TOSHIBA Corp.
49
5.1
User Login Restriction
wbsetadminuserinfo.cgi
5.1.1 Syntax
1) http://<camip>/api/wbsetadminuserinfo.cgi?type=Default[&Reboot=<value>]
2) http://<camip>/api/wbsetadminuserinfo.cgi?type=Set[&LoginRestriction=<value>]
2) http://<camip>/api/wbsetadminuserinfo.cgi?type=Set[&LoginRestriction=<value>]
5.1.2 Input
Item
Type
Entry name
Entry value
Std.val
Unit
Reset to Default
type=Default
-
-
-
-
Login restriction
type=Set
LoginRestriction
1:OFF
2:ON 2
-
Camera rebooting control of cgi common to all types
Reboot
No/Yes [default: No] (omissible)
-
-
Log output control of cgi common to all types
OpeLog
No/Yes [default: Yes] (omissible)
-
-
5.1.3 Output
Code
Status
Code
Status
Code
Status
20 OK
32
InvalidValue
92
CriticalError
30 InvalidType
33
InvalidOperand
31 InvalidEntry 34
NoEntryData
5.1.4 Example
1) http://10.1.0.1/api/wbsetadminuserinfo.cgi?type=Default&Reboot=Yes
2) http://10.1.0.1/api/wbsetadminuserinfo.cgi?type=Set&LoginRestriction=2&Reboot=Yes
2) http://10.1.0.1/api/wbsetadminuserinfo.cgi?type=Set&LoginRestriction=2&Reboot=Yes
5.1.5 Notes
1) If only type=<value> is entered and then <entry>=<value> is not entered, no setting is performed. (type=Default is an exception.)
2) Multiple
2) Multiple
type=<value> cannot be enumerated simultaneously. This API must be started for each type.
3) For only entered items, setting is performed. For the other items, their existing values are held.
4) When OpeLog=No is entered, a log related to API start/end is not output. When it is omitted, it is regarded as OpeLog=Yes.
4) When OpeLog=No is entered, a log related to API start/end is not output. When it is omitted, it is regarded as OpeLog=Yes.
5) To validate a setting by this API, the camera must be rebooted.
6) When Reboot=Yes is entered and setting can be performed according to other entered value, the camera performs reboot processing as
it is. Accordingly, the client may not receive “20 OK\r\n” being a normal termination status.
7) When Reboot=No is entered, reboot the camera by wbsetcamreboot.cgi or turn on/off the power supply of the camera after starting this
API.