Member |
Data Type |
Description |
---|---|---|
dwSize |
DWORD |
Structure size. |
sUserName |
BYTE[] |
User name. The array length is 32 bytes (macro definition value of "NAME_LEN"). |
sPassword |
BYTE[] |
Password. The array length is 16 bytes (macro definition value of "PASSWD_LEN"). |
struUserIP |
IP address of the user. If it is 0, it indicates that all addresses are allowed. |
|
byMACAddr |
BYTE[] |
MAC address. The array length is 6 bytes (macro definition value of "MACADDR_LEN"). |
byUserType |
BYTE |
User type: 0-normal user, 1-admin user. |
byAlarmOnRight |
BYTE |
Whether the person has arming permission: 0-no, 1-yes. |
byAlarmOffRight |
BYTE |
Whether the person has disarming permission: 0-no, 1-yes. |
byBypassRight |
BYTE |
Whether the person has bypass permission: 0-no, 1-yes. |
byOtherRight |
BYTE[] |
Whether the person has other permission: 0-no, 1-yes. The array length is 32 bytes (macro definition value of "MAX_RIGHT").
|
byNetPreviewRight |
BYTE[] |
Channels that support remote live view. The array length is 8 bytes (macro definition value of "MAX_ALARMHOST_VIDEO_CHAN" divided by 8). Each element in the array indicates the corresponding channel. For each element, 1 means having permission, and 0 means having no permission. |
byNetRecordRight |
BYTE[] |
Channels that support remote recording. The array length is 8 bytes (macro definition value of "MAX_ALARMHOST_VIDEO_CHAN" divided by 8). Each element in the array indicates the corresponding channel. For each element, 1 means having permission, and 0 means having no permission. |
byNetPlaybackRight |
BYTE[] |
Channels that support remote playback. The array length is 8 bytes (macro definition value of "MAX_ALARMHOST_VIDEO_CHAN" divided by 8). Each element in the array indicates the corresponding channel. For each element, 1 means having permission, and 0 means having no permission. |
byNetPTZRight |
BYTE[] |
Channels that support remote PTZ control. The array length is 8 bytes (macro definition value of "MAX_ALARMHOST_VIDEO_CHAN" divided by 8). Each element in the array indicates the corresponding channel. For each element, 1 means having permission, and 0 means having no permission. |
sOriginalPassword |
BYTE[] |
Original password. The array length is 16 bytes (macro definition value of "PASSWD_LEN"). |
byRes2 |
BYTE[] |
Reserved. The array length is 152 bytes. |