Re: Window login for applications

From: Andrew Diabo (aadiabo_at_ix.netcom.com)
Date: 05/25/04


Date: Tue, 25 May 2004 04:28:07 -0400

Thanks Viatcheslav. I think NTset has these functions and I hope I can use
it in my application.

Thanks again

Andrew

"Viatcheslav V. Vassiliev" <support@oledbdirect.com> wrote in message
news:40af7eb7$1@newsgroups.borland.com...
> You may impersonate current thread with SetThreadToken() function. Look
its
> help and help for LogonUser(), ImpersonateLoggedOnUser() in MSDN.
>
> //------------------------------------------
> Regards,
> Vassiliev V. V.
> http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
> ADO.Net
> http://www.oledbdirect.com - The fastest way to access MS SQL Server,
> MS Jet (Access) and Interbase (through OLEDB)
>
> "Andrew Diabo" <aadiabo@ix.netcom.com> сообщил/сообщила в новостях
> следующее: news:40aec9eb@newsgroups.borland.com...
> > I have users loggin in to the Windows OS as Power Users but there are
> times
> > when I need to have access to the system files for my application. Is
> there
> > a way to silently loggin in to the Windows OS as administrator from
within
> > my application although the user is currently logged on as a Power User?
> >
> > Thanks for any help in advance.
> >
> > Andrew
> >
> >
>
>



Relevant Pages

  • Re: Window login for applications
    ... You may impersonate current thread with SetThreadTokenfunction. ... > I have users loggin in to the Windows OS as Power Users but there are ... > a way to silently loggin in to the Windows OS as administrator from within ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: IUSR_machinename vs ASPNET
    ... "Andrew J Fortune" ... > where machinename is the name of your computer) vs. the ASPNET user ... > visiting user can impersonate that specific account. ...
    (microsoft.public.dotnet.general)
  • Re: How to change XPs User Account to 2000-style
    ... Thanks so much Colin for your help. ... Andrew ... And I guess they want to use the same cute interface for both so ... > Power Users show up. ...
    (microsoft.public.windowsxp.security_admin)