Obtain the user verification mode. Only the devices support multiple verification modes support this function.


Device number

User ID

Verification mode of the user described by dwEnrollNumber. The values are as follows: 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 device: 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 without specific meanings.

Return Value

Return True if it is successful, or return False.

Related Function

SetUserInfoEx, 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.GetUserInfoEx(iMachineNumber, iUserID, out iVerifyStyle, out iReserved))
                        MessageBox.Show("UserVerify " + iVerifyStyle.ToString());
                        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 = 0
                        Dim iUserID As Integer = 1
                        Dim iVerifyStyle As Integer = 0
                        Dim iReserved As Byte = 0
                        If (axCZKEM1.GetUserInfoEx(iMachineNumber, iUserID, iVerifyStyle, iReserved) = True Then
                                    MsgBox("UserVerify " & iVerifyStyle.ToString())
                                    MsgBox("Operation failed,ErrorCode=" & idwErrorCode.ToString(), "Error")
                        End If