Re: Retrieving User's Groups from Active Directory using ASP.NET

From: Paul Clement (UseAdddressAtEndofMessage_at_swspectrum.com)
Date: 09/28/04


Date: Tue, 28 Sep 2004 08:28:49 -0500

On Tue, 28 Sep 2004 01:51:03 -0700, "L Magarian" <LMagarian@discussions.microsoft.com> wrote:

¤ I'm using forms based authentication and LDAP to authenticate a user against
¤ Active Directory. This is working fine.
¤
¤ The point where I'm stuck is retireving the groups this user is assigned.
¤
¤ My web server and active directory servers are different machines. When I
¤ test by deploying the web app on the active directory machine it does work.
¤ However, I will not be able to employ this work around in the production
¤ setting.
¤
¤ Can anyone advise me as to how retrieve these user groups?
¤
¤ Are there special settings for searching the Active Directory when running a
¤ web app off a different server?

Could you indicate what type of error you are receiving and identify the line of code where it
occurs?

Paul ~~~ pclement@ameritech.net
Microsoft MVP (Visual Basic)



Relevant Pages

  • Re: Installed Kerberos, and now?
    ... Active Directory can work fine in a Unix ... > openldap server in our environment. ... > But as far as synchronizing unix and windows authentication... ...
    (comp.protocols.kerberos)
  • Re: VPN Problem - Error 930 and Event 20073
    ... Does the account have read-write permissions in the Active directory service ... > There was a Windows 2000 member server running before the upgrade that ... > did not respond to authentication requests in a timely fashion. ... > Routing and Remote Access Server Stops Authenticating Dial-Up ...
    (microsoft.public.win2000.ras_routing)
  • Server 2003 as a DC - Active Directory dies???
    ... I've got a Server 2003 Domain Controller of which ... Anything that requires Windows authentication (Shares, Outlook, Programs, ... it's almost like Active Directory takes a dive. ... Only solution is to hard reset the server, ...
    (microsoft.public.windows.server.general)
  • Re: Exchange server
    ... If both server in your company is under the same Active Directory forest I ... I mean, authentication using XML / ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: AD Authentication from a Web Server in DMZ
    ... I don't believe that there is a way to do this without the webserver ... actually being a member of the Active Directory Domain. ... web app being dependent upon the domain and the domain being available. ... > Server, we'll do that. ...
    (microsoft.public.inetserver.iis)