Re: ActiveDirectoryMembershipProvider ASP.NET 2.0

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



For it to work for Windows auth you would have to set that on IIS
Go to IIS >Security and uncheck Anonymous logon and check integrated Windows
Auth.
Hope that helps
Patrick


"Arnel" <arnelsin@xxxxxxxxx> wrote in message
news:1128975959.694971.150010@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> I have a web app which uses the new ASP.NET 2.0 login control to
> authenticate against active directory. Now, I would like to use the
> new namespaces (ActiveDirectoryMembershipProvider,
> ActiveDirectoryMembershipUser, MembershipUser, Membership, etc) to
> retrieve the logged in user properties available. I have been able to
> get the logged in username when using Forms auth. with the following
> code. Unfortunately, it doesn't work when I use Windows auth:
>
> MembershipUser LoginName = Member.GetUser(User.Identity.Name)
>
> Does anyone know how to retrieve the various properties available for
> AD users?
>


.



Relevant Pages

  • RE: Windows 2003 Web Server and SSPI Authentication from ASP
    ... If IIS and SQL are on different boxes, and you want the web user to be ... the IIS server in Windows Auth and use Kerberos. ... register the SPN for SQL Server as well as trust the IIS machine for ...
    (microsoft.public.sqlserver.security)
  • Re: use anonymous but get get an authentication box
    ... windows auth. ... "Sharif" wrote in message ... > I am using windows server 2003 and IIS 6. ...
    (microsoft.public.dotnet.framework.aspnet)
  • ActiveDirectoryMembershipProvider ASP.NET 2.0
    ... new namespaces (ActiveDirectoryMembershipProvider, ... ActiveDirectoryMembershipUser, MembershipUser, Membership, etc) to ... retrieve the logged in user properties available. ... it doesn't work when I use Windows auth: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: HTTP access to Analysis Services failing
    ... Thanks Dave, I had a feeling that was the problem. ... > Look at the IIS docs for what ports you need open. ... Windows Auth is on, the user logs in, and OWC connects to AS using ... But in Production, this is failing. ...
    (microsoft.public.sqlserver.olap)
  • Re: Windows authentication - Web.Config
    ... well with Windows auth - IIS is doing the heavy lifting - in general your users shouldn't even see a login dialog as IE sends the credentials automatically ...
    (microsoft.public.dotnet.framework.aspnet.security)