SetEnrollDataStr

Definition

VARIANT_BOOL SetEnrollDataStr([in] long dwMachineNumber, [in] long dwEnrollNumber, [in] long dwEMachineNumber, [in] long dwBackupNumber, [in] long dwMachinePrivilege, [in] BSTR dwEnrollData, [in] long dwPassWord)

Usage

Set registration data (user fingerprint template and some user information).

Parameter

dwMachineNumber, dwEMachineNumber Device number. Both values must be equal.
dwEnrollNumber User ID
dwBackupNumber Index of the fingerprint. The value ranges from 0 to 9. When the value is 10, it indicates the user password is set.
dwMachinePrivilege User privilege. 0: common user, 1: enroller, 2: administrator, 3: super administrator
dwEnrollData Fingerprint template to be uploaded
dwPassWordUser password

ReturnValue

Return True if it is successful, or return False.

RelatedFunction

SetEnrollData, GetEnrollData, DeleteEnrollData, SetUserInfo, SetUserTmp