Delete the multiple verification modes of the specified user. Only the devices supporting multiple verification modes support this function.
Device number
User ID
Return True if it is successful, or return False.
SetUserInfoEx, GetUserInfoEx
//Create Standalone SDK class dynamicly. zkemkeeper.CZKEMClass axCZKEM1 = new zkemkeeper.CZKEMClass(); int iMachineNumber = 1; int userGroupId = 1; axCZKEM1.Connect_Net("10.0.0.43", 4370); int idwErrorCode = 0; int iUserID = userGroupId; if (axCZKEM1.DeleteUserInfoEx(iMachineNumber, iUserID)) { MessageBox.Show("DeleteUserInfoEx,UserID:" + iUserID.ToString(), "Success"); } else { axCZKEM1.GetLastError(ref idwErrorCode); MessageBox.Show("Operation failed,ErrorCode=" + idwErrorCode.ToString(), "Error"); }
'Create Standalone SDK class dynamicly. Dim axCZKEM1 As zkemkeeper.CZKEMClass = New zkemkeeper.CZKEMClass() Dim iMachineNumber As Integer = 1 Dim userGroupId As Integer = 1 axCZKEM1.Connect_Net("10.0.0.43", 4370) Dim idwErrorCode As Integer = 0 Dim iUserID As Integer = userGroupId If axCZKEM1.DeleteUserInfoEx(iMachineNumber, iUserID) Then MessageBox.Show("DeleteUserInfoEx,UserID:" + iUserID.ToString(), "Success") Else axCZKEM1.GetLastError(idwErrorCode) MessageBox.Show("Operation failed,ErrorCode=" + idwErrorCode.ToString(), "Error") End If