Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Zkteco SDK Function to Change User Status

I have worked with ZKTECO Biometric machines before but now i need an extra feature which i didn't find in existing ZKTECO SDK. Is there any extension in SDK so that i enable or disable user from a machine while the information of user is still in the machine.So that it's status could be changed any time. I need this for an access control project where user privileges changes on daily basis and admin can't afford to go and register an employee every time.

I found this sdk online which claims to do the trick but no luck.

https://www.codeproject.com/Articles/1104538/Csharp-ZKTeco-Biometric-Device-Getting-Started

like image 721
Kamran Avatar asked Sep 15 '25 10:09

Kamran


1 Answers

After working for days on this i finally found the solution to this problem. What i did was to download all user templates to my local database and then with the help of SDK i added or removed a user from Machine by deleting the finger print templates of that particular user from machine and in case i want to allow it i uploaded the templates from my local database again. It was a headache doing all this but i am sharing the code here

https://www.codeproject.com/script/Articles/ArticleVersion.aspx?waid=266467&aid=1254373

Hope this would be helpful cause i haven't found anything relating to this available on the internet already.

like image 53
Kamran Avatar answered Sep 18 '25 00:09

Kamran



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!