VARIANT_BOOL ReadAllUserID([in] LONG dwMachineNumber)
[Purpose]
Read in all user information to the Memory of PC,Include user No. password, Name,
Card No. etc, excepte the finergerprint template
[Return Value]
Return True for success, otherwise False.
[Example]
Dim userID As Integer CZKEM1.ReadAllUserID MACHINENUMBER
[Special Consideration]:
After this function performance finish, may transfer function GetAllUserID to obtain the user enrolled No. GetAllUserID ev perform a time, the pointer to aim to user information moves to the next record, when reads the last record, returns to False.
GetAllUserID
[Protocal]
VARIANT_BOOL GetAllUserID([in] LONG dwMachineNumber, [in] LONG*
dwEnrollNumber, [in] LONG* dwEMachineNumber, [in] LONG* dwBackupNumber,
[in] LONG* dwMachinePrivilege, [in] LONG* dwEnable)
[Purpose]
Obtain all user information.Before the function perform,may use ReadAllUserID to
read all user’s information into Memory, the function GetAlluserID perform each time, the user information pointer will move to next record. after read all user information .the function return False.
[Parameter]
dwMachinePrivilege
User privilege;0,Common User;1,Enroller;2,administrator;3 .Supper administator
[Return Value]
Return True for success, otherwise False.
[Example]
This function server as GetAllUserInfo,please refer to GetAllUserInfo illustration
[Spiecal Consideration]
The function can use ReadAllUserID to transfer all user information to Memory, than
repeat reading user information
Como ven, la función GetAllUserID la entiendo perfectamente su uso sería de esta manera:
procedure TForm1.Button1Click(Sender: TObject); var Maquina, UserID, EMaquina, BUNumber, Privilegue, Enable: Integer; begin zkLector.GetAllUserID(Maquina,UserID, EMaquina, BUNumber, Privilegue, Enable); EDit1.Text := IntoStr(UserID); Edit2.Text := IntoStr(EMaquina); //...Así seguimos end;
Pero no entiendo cómo se usaría la primera función que mencioné, ¿alguien me podría explicar? :$.
Saludos.