Hi all,
I need know if the current user loged have a administrator privilegies?
How I get this.
Get account of currente user.

Thanks

Re: Get Accont type. by CheckAbdoul

CheckAbdoul
Mon Jul 12 09:30:35 CDT 2004

If you have shell version 5.0 or above, then use the IsUserAnAdmin() API
from shell32.dll. Otherwise checkout the following links

http://www.mvps.org/vcfaq/sdk/21.htm
http://support.microsoft.com/?id=118626

--
Cheers
Check Abdoul [VC++ MVP]
-----------------------------------


"RTF" <renato.trinity@novaamerica.net> wrote in message
news:Oc52iZAaEHA.4048@TK2MSFTNGP10.phx.gbl...
> Hi all,
> I need know if the current user loged have a administrator privilegies?
> How I get this.
> Get account of currente user.
>
> Thanks
>
>