as I said you use DirectorySevices. see this thread for example of validating password, and lookup of ad entry:
https://stackoverflow.com/questions/290548/validate-a-username-and-password-against-active-directory
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
We are working on replacing a old VBscript page that is on a system that is being disabled later this year.. the only purpose this existing page serves is to determine where the user is located and redirect them to another page with some predefined url parameters.
We have an IIS server to host this page, we currently use active directory and all we need is a way to have our intranet point to this page, determine what location the user is from and then populate the url parameters before landing on the 2nd page..
Can anyone offer any suggestions or examples on something that would help us accomplish this?
The users can come from 2 places (main office or store location) if they come from our main office, then the parameters are generic, but if they are from a store location, then the parameters are the 3 digit location number.
mypage.asp?loc=044
or
mypage.asp?loc=main
Since they are already on our network they dont need to login to anything, we use this to present them information specific to their location..
as I said you use DirectorySevices. see this thread for example of validating password, and lookup of ad entry:
https://stackoverflow.com/questions/290548/validate-a-username-and-password-against-active-directory