Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LogonUser() Issues With Win 2K
Message
 
To
23/09/2008 06:37:32
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01349756
Message ID:
01349991
Views:
18
Hi Fred,

>I guess it is something to do with SE_TCB_NAME right. Has anyone gotten the solution for this.

Yes, that's the way it is in Windows 2000. You need the SE_TCB_NAME privilege in order to call LogonUser. There are no easy solutions for that. You could use a service or a COM object to execute code as a different user, but you cannot impersonate a different users in your application. The easier solution would really be to upgrade to Windows XP.
--
Christof
Previous
Reply
Map
View

Click here to load this message in the networking platform