Re: Function to know the right
From: David (FlyLikeAnEagle_at_United.Com)
Date: 08/12/04
- Next message: Jerry Coffin: "Re: Function to know the right"
- Previous message: Don HO: "Function to know the right"
- In reply to: Don HO: "Function to know the right"
- Next in thread: Jerry Coffin: "Re: Function to know the right"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 11 Aug 2004 21:21:15 -0700
On Wed, 11 Aug 2004 23:19:50 UTC, Don HO <donho@altern.org> wrote:
> Hi,
>
> Is there a way to know whether if the current user has the right of
> Administrator under winnt/w2k/xp ?
>
> Thanx in advance
>
> Don
Don,
There certainly is. I don't recall the calls required. You
might try posting your inquiry to the microsoft.public.vc.mfc
group. There are several active MVPs there that can answer your
question and point you to sample code faster than I can. A
google search limited to that group might also find your answer
pretty quick.
Okay, a quick google search on that group with "administrator
determine" found serveral promising leads. The post appended
below is an article that probably describes what you need.
I couldn't find a link to that article.
David
=====
Pepe,
> Hi!
>
> Can anybody help me how to find out if the current user is in Administrators
> group?
> I need it in my installation SW.
Knowledge Base Article Q118626 "HOWTO: Determine if Running in User Context
of Local Admin Acct" has the answer.
- Next message: Jerry Coffin: "Re: Function to know the right"
- Previous message: Don HO: "Function to know the right"
- In reply to: Don HO: "Function to know the right"
- Next in thread: Jerry Coffin: "Re: Function to know the right"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|