What is the easiest way to obtain user info in Windows? THe main thing we want to get is whether the user has administrator privileges.
Thanks!
This is a discussion on Obtaining User Info/privileges within the C++ Programming forums, part of the General Programming Boards category; What is the easiest way to obtain user info in Windows? THe main thing we want to get is whether ...
What is the easiest way to obtain user info in Windows? THe main thing we want to get is whether the user has administrator privileges.
Thanks!
MSDN article on privileges here may be a starting point:
http://msdn.microsoft.com/en-us/libr...06(VS.85).aspx
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
The first two posts here mention all the relevant functions / methods.