Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Nov : How to acquire temporary Administrator Privileges.

www.cryer.info
Managed Newsgroup Archive

How to acquire temporary Administrator Privileges.

Subject:How to acquire temporary Administrator Privileges.
Posted by:"Sean B. Durkin" (sean.durkin@{removethis}turnaroundsolutions.com)
Date:Tue, 22 Nov 2005 13:34:44 +1100

How does one write an application that can temporarily acquire
Administrator privilege after throwing up the appropriate
username/password dialog?

Installer programs often do this, especially for things like
installing NT services which require administrator privileges.


I am using Delphi 7 and Delphi 2005 (win32 target).


Thanks in advance if you can advise,
Sean B. Durkin

Info

Glossary

Replies:

www.cryer.info
Managed Newsgroup Archive