How to check if logged on user has admin privileges
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
How to check if the logged on user has admin privileges on the system ? Is there any API to do that ?? The API should be supported on all windows platforms ( Win NT, XP, 2000, Win 98/95/ME). Thanks for ur help.
visit http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secauthz/security/checktokenmembership.asp[^] or http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/functions/shgetfileinfo.asp[^] http://blog.joycode.com/jiangsheng http://blog.csdn.net/jiangsheng Command what is yours Conquer what is not ---Kane