Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Detection of administrator?
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 · ·