I am writing a backup utility that needs to know if a user is an admin. If so, the utility will have the option to backup an entire drive, other user folders and settings, and more. If not, these options won't be available since a normal user cannot access other user's folders and such. I am doing the application in C++. How can I determine whether or not a user is an admin when he or she starts the program?
0 · ·