Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Authenticate user in the operating system
Message
From
08/10/2001 03:46:59
 
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00565368
Message ID:
00565382
Views:
24
Hi Vlad!

Thank you for your answer.

I think I was a bit vague in my question. The thing I want to do is when the user enters username and password in our application I want to validate this in the domain.

/Peter Rosberg

>Hi!
>
>VFP application access VFP database through network, right?
>Make a network share on the server machine. Grant users of this application sequrity rights to access that network share. In the VFP app use sys(0) to see what user is currently logged in. All other leave for system.
>
>The trick here is that user can access network resources only after user logon on the machine. The VFP database accessed through network is not exception here. When you need to disable certain features for certain users, just yse sys(0) VFP function to see what user is logged on currently, however for this you will require separate administrating module anyway, because you will not be able to add new configuring options to the system sequrity (like defining which users can access particular part of your application). Well you can organize this too, but this will not be so obvious and intuitive for administrators (make separate network share for each particular functionality in your applicaion that you want to disable for certain users. In application check if user have access to that share, if not - feature not available).
>
>>Does anyone have any idea how I can authenticate a user in 98/Me/NT 4/2000 from VFP6/VFP7?
>>
>>We have a customer with lots of users and they don't want to administer the user access in both our system and the operating system.
>>
>>Maybe someone can point me in the right direction.
>>
>>Thanks
>>/Peter Rosberg
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform