Last post Mar 08, 2016 08:52 AM by Klein Zhang
Mar 07, 2016 02:26 PM|david38ni|LINK
We have a ldap and active directory for our windows ten domain, I need to be able to let users either
Any Good code examples.
Mar 07, 2016 05:30 PM|ninianne98|LINK
if this is an asp.net web app, you can just configure the website to use windows auth and so long as the users are using IE/Edge, their credentials will seamlessly pass to the application, other browsers may require the users to enter their domain logon/password,
so long as the web server and the end user computers are all in the same domain, no LDAP code needed.
to get the current user System.Security.Principal.WindowsIdentity.GetCurrent() or you can use one of the several Request.ServerVariable keys to get the user name.
Mar 08, 2016 08:52 AM|Klein Zhang|LINK
Login with their username and password that they use for their pc each morning
Here is tutorial about using Forms authentication to permit users to authenticate against Active Directory using the Lightweight Directory Access Protocol (LDAP)
Allow auto sign on based on their initial login of their pc?.
You could put your login information into a cookie variable, then you could check if the cookie is existing when you access the related pages, if it exists, the user will be redirected to related page, otherwise the user will be redirected to login