Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Encrypting user name and password
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01635942
Message ID:
01636160
Views:
72
1. In my application, when I/manager grant access to the application, you assign a user to a User Group (feature of the application). Say, I have to assign a person JOHN SMITH to the application, what value from the AD I need to know to set it into a field of my application?
2. When a user opens/loads the application, how do you authenticate him/her? My understanding that you "get" some value from the AD for the currently logged user (in this PC) and compare it with a value in your application database. Right?

First let me explain that the work I'm talking about was NOT done in FoxPro - it was in Python. I was 15 year user of FoxPro and I continue to support a few clients using FoxPro. So I continue to post/monitor this forum. And I like the people here!

In my case all I cared about was if the user was active and a member of the correct group. If he/she passed they were allowed to use the program. I used a module from Tim Golden
http://timgolden.me.uk/python/ad_cookbook.html.
which provided all the tools I needed to get a pass no pass function working.

That said, I have NOT used FoxPro to query AD. But I feel very confident that the tools are there. There was plenty of stuff I saw when I google-d "foxpro active directory". This looked like a good start:
http://weblogs.foxite.com/stuartdunkeld/2006/08/14/determining-active-directory-group-membership/

For any special features that I thought might be needed - such as having some Administrator only action. I created a user table that held special flags. But so far I haven't used it in my program. My thinking was straight forward - once pass the AD sign-in I had access to the database and could determine what the user permissions might be. But like I said never used it.

Johnf
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform