user priviledge on any Windows Platform (Administrator Rights)


I want to know, how can I found the current user priviledge on any Windows

Like Windows 95, 98, NT

I found something in the windows api, it's NetUserGetInfo with the
USER_INFO_1 structure, but I don't know if it's the best way to know the
current user priviledge.

I just want to know if the user has the administrator rights...

Thanks a lot !!!

Steve Gurin
Software Analyst
Now We're talking power line networking

1995 rue Jean-Talon sud, Suite 202.
Sainte-Foy, Quebec
Canada   G1N 4H9
Phone (418) 681-8022 #240       Fax     (418) 681-8015