Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alternative to SRVANY - VFP 7 comes thru!
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00667371
Message ID:
00668887
Views:
26
Yes, exactly, I used the CreateProcessAsUser API in a simple dll. All the C++ code for using it is on the Microsoft web site. The only additional thing my code does is check the registry. If it's empty, it does nothing. if theres a User/PW in the registry, it does the CreateProcessAsuser.
>>Armin, another thing I did with the C++ side was add a routine that will impersonate a User when starting the service. This way that service will have access to network resources like SQl Server. The user types this info into a VFP frontend that just writes to the registry. The C++ reads that info from the registry when it starts the service. To the end user, this is all very smooth and no manual config of the service or registry is necessary...
>
>Sounds good! If I understand that right, the service is running on a server under the Local System account and inside the service you're changing the security context to a special user your users can configure the service from any workstation without having acces rights to remotely configure the service via the MMC?
>
>Armin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform