public bool FshiUser() { objCZKEM = new CZKEM(); string _Name = "", _Password = ""; int _Privilefe = 0; bool _Enabled = false; try { //var t = objCZKEMClass.SSR_GetUserInfo(1, "13", out _Name, out _Password, out _Privilefe, out _Enabled); //t = objCZKEM.SSR_SetUserInfo(1, "13", _Name, _Password, _Privilefe, false); Debug.Write("True Fshi"); objCZKEMClass.DeleteUserInfoEx(1, 13); objCZKEM.DeleteUserInfoEx(1, 13); return(true); } catch (Exception ex) { Debug.Write("False Fshi: " + ex.Message); return(false); } }
public bool RemoveUserInfo(int userid) { return(_czkem.DeleteUserInfoEx(_czkem.MachineNumber, userid)); }