C# ASP.NET and ActiveDirectory/Windows Domain?

  • Thread starter Thread starter mike s
  • Start date Start date
M

mike s

Guest
Im currently working on a university project in which I need a produce a noticeboard for a local school, this noticeboard needs to read the current user credentials from AD and then load relavant notices for that user. The idea is that this noticeboard will display notices without the user actually needing to login to the website. Can this be done? I have search for so many hours on the subject and although some of the suggestions work on my local machine they fail to work in a domain enviroment. Any ideas?

So far Ive tried things like this.application.user.username, request.ServerVariable["LOGON_USER"], User.Identity.Name and even windowsIdentity.getCurrent(). I either have null values returned or "NT Authority/Network Service" as a username. Help?
So its fair to say that the website(intranet site) can't support this type of automated login? I'm not sure whether that is going to make my project easier or harder lol. Thanks guys
 
Back
Top