Upload the user verification mode or group verification mode. Only the devices supporting multiple verification modes support this function.


Device number

User ID

The values of user verification mode set by black & white devices range from 1 to 15, that is, there are 15 verification modes. For details, see parameters of GetGeneralLogData. If group verification mode is used, the values of verification mode range from 129 to 134, representing groups 1 to 5 respectively. For TFT access control fingerprint devices: 0 (group verification mode), 128(FP/PW/RF), 129(FP), 130(PIN), 131(PW), 132(RF), 133(FP&RF), 134(FP/PW), 135(FP/RF), 136(PW/RF), 137(PIN&FP), 138(FP&PW), 139(PW&RF), 140(FP&PW&RF), 141(PIN&FP&PW), 142(FP&RF/PIN).

Reserved parameter temporarily without specific meanings.

Return Value

Return True if it is successful, or return False.

Related Function

GetUserInfoEx, DeleteUserInfoEx




                        //Create Standalone SDK class dynamicly.
                                    zkemkeeper.CZKEMClass axCZKEM1 = new zkemkeeper.CZKEMClass();
                        int iMachineNumber = 1;
                                    axCZKEM1.Connect_Net("", 4370);
                        int idwErrorCode = 0;
                        int iUserID = 1;
                        int iVerifyStyle = 0;
                        byte iReserved = 0;
                        if (axCZKEM1.SetUserInfoEx(iMachineNumber, iUserID, iVerifyStyle, ref iReserved))
                                        MessageBox.Show("SetUserInfoEx,UserID:" + iUserID.ToString() + " VerifyStyle:" + iVerifyStyle.ToString(), "Success");
                                        axCZKEM1.GetLastError(ref idwErrorCode);
                                        MessageBox.Show("Operation failed,ErrorCode=" + idwErrorCode.ToString(), "Error");


                        'Create Standalone SDK class dynamicly.
                        Dim axCZKEM1 As New zkemkeeper.CZKEM
                        Dim iMachineNumber As Integer
                                axCZKEM1.Connect_Net("", 4370)
                        Dim idwErrorCode As Integer
                        Dim iUserID As Integer = 1
                        Dim iVerifyStyle As Integer = 0
                        Dim iReserved As Byte = 0
                        If axCZKEM1.SetUserInfoEx(iMachineNumber, iUserID, iVerifyStyle, iReserved) = True Then
                                MsgBox("SetUserInfoEx,UserID:" & iUserID.ToString() & " VerifyStyle:" & iVerifyStyle.ToString(), "Success")
                                MsgBox("Operation failed,ErrorCode=" + idwErrorCode.ToString(), "Error")
                        End If