5.2.4.1 SSR_DeleteEnrollData
[Definition]
VARIANT_BOOL DeleteEnrollData([in] long dwMachineNumber, [in] long dwEnrollNumber,
[in] long dwEMachineNumber, [in] long dwBackupNumber)
[Usage]
Delete registration data.
[Parameter]
dwMachineNumber, dwEMachineNumber
Device number
dwEnrollNumber
User ID
dwBackupNumber
Index of the fingerprint
The value ranges from 0 to 9. It this case, the device also checks whether the user
has other fingerprints or passwords. If no, the device deletes the user.
When the value is 10, the device deletes the password. The device also checks
whether the user has fingerprint data. If no, the device deletes the user.
When the value is 11 or 13, the device deletes all fingerprint data of the user. When the
value is 12, the device deletes the user (including all fingerprints, card numbers and
passwords of the user).
[Return Value]
Return True if it is successful, or return False.
[Related Function]
SetEnrollData, GetEnrollData
dwBackupNumber = 12 If CZKEM1.SSR_DeleteEnrollData(DeviceNumber, EnrollNum, dwBackupNumber ) = True Then CZKEM1.RefreshData DeviceNumber Else CZKEM1.GetLastError dwErrCode MsgBox "Error Description : " & GetLastErrorName(dwErrCode), vbCritical, "Can't Connect Device" Me.MousePointer = 0 Exit Sub End If
0 comments:
Post a Comment