Thanks for tips guys. Put the Openprocesstoken etc into search and lo and behold, its done in isadministrator function in the JCLsecurity.pas of JCL library.
---------------------------------------------------------- Phil Scadden, Institute of Geological and Nuclear Sciences 764 Cumberland St, Private Bag 1930, Dunedin, New Zealand Ph +64 3 4799663, fax +64 3 477 5232 _______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi
