
Temporary grant Admin rights in prog.
Not exactly, but the Task Manager allows you execute processes
as a specific user. I suspect CreateProcessAsUser is behind this.
Quote:
> I'm looking after an NT Domain. Occasionally I write progs. which may
> need Admin rights to be succesfull. Does anybody have code which would
> enable me to switch on admin rights immediately before processing the
> subroutine etc. then immediaely switch them off. A sort of Unix
> 'sticky bit' for VB.
> Clive Taylor