Re: Window login for applications
From: Andrew Diabo (aadiabo_at_ix.netcom.com)
Date: 05/25/04
- Next message: Andrew Diabo: "TListView help"
- Previous message: Andrew Diabo: "Re: How to get user's local setting folder"
- In reply to: Viatcheslav V. Vassiliev: "Re: Window login for applications"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
> >
> >
>
>
- Next message: Andrew Diabo: "TListView help"
- Previous message: Andrew Diabo: "Re: How to get user's local setting folder"
- In reply to: Viatcheslav V. Vassiliev: "Re: Window login for applications"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|