I would like to check if the user account I use as an input parameter is enabled or disabled.
I am under Windows in C ++. I looked at the microsoft documentation but I did not find the method to recover what I want. I have looked at the NetUserGetInfo method with the structure USER_INFO_2. But there is no method that meets my expectations.I wanted to know if it was possible to recover that. and that the output then returns me a Boolean if the user's account is activated or deactivated according to the group to which it belongs?
Aucun commentaire:
Enregistrer un commentaire