c# - Login Authentication using Active Directory in the Intranet...Possible? -


i creating project deployed in our company's intranet. using code authenticate users login:

entry.username = strusername; entry.password = strpassword;  directorysearcher searcher = new directorysearcher(entry); searcher.filter = "(objectclass=user)"; try {     searcher.findone();     return true; } 

it working on localhost, when deployed intranet, can't log in.

now question is, can access directory on intranet? or there better way achieve this?

check post

it uses active directory authenticate site members on intranet.


Comments

Popular posts from this blog

javascript - JS causing window size to be bigger than necessary - Dropdown bug -

php - Calling a template part from a post -

How to mention the localhost in android -