Hi,
I have a website that is used as an Intranet accross the company (in various locations worldwide) and it uses a custom login page for access. A large portion of the company uses the site when logged in to the company network.
I now need to implement Active Directory connectivity on this website and require to retrieve the User.Identity.Name and only display the login page if the current Windows username does not not matched a record in AD.
Ultimately, what is actually required is this: A user navigates to the Intranet > The Intranet checks for the Windows login name > If the Windows login name exists, match it against AD. If the Windows logon name doesn't exist or is empty, redirect to the
login screen.
Obviously, working locally or on our dev server, the setup works fine, but when trying on a "live to the world" site on our live server, either the Windows logon name is emptry or you get a prompt to login (as an iis ...
Go to the complete details ...