user priviledge on any Windows Platform (Administrator Rights)

Hi,

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

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
sgue...@domosys.com
--------------------------------------------------------------
Domosys
Corporation
Now We're talking power line networking

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

--
Steve Gurin
Software Analyst
sgue...@domosys.com
--------------------------------------------------------------
Domosys
Corporation
Now We're talking power line networking

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