Link to home
Start Free TrialLog in
Avatar of alphab
alphab

asked on

Checking User privs on Winnt 4.0

I am using Visual C++ 5.0 and I need a way to check to see if a user has Admin Privs. This may be a simple question, but I haven't been able to find the answer. The solution must support Unicode and non-English versions of NT.
Avatar of Blondie050798
Blondie050798

Well I think generally the way that you are meant to check/inforce security on NT is to use Impersonation rather than explicitly determining what a user can and cannot do.  In that way you can become the user, carry out the action, and if the user is not allowed to carry out that action, then it won't happen! :-)
ASKER CERTIFIED SOLUTION
Avatar of lbrucher
lbrucher

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial