Re: Does 'IsInRole()' check against Active Directory groups?

From: Joe Kaplan \(MVP - ADSI\) (joseph.e.kaplan_at_removethis.accenture.com)
Date: 08/29/05


Date: Sun, 28 Aug 2005 19:28:12 -0500

Yes. It depends on how users are being authenticated by IIS and how you
have ASP.NET configured, but if your web server is a member of a domain that
can authenticate users in your target domain and you have ASP.NET configured
for Windows authentication, IsInRole will answer true/false for the user's
domain groups.

Joe K.

"Craig Vedur" <CraigVedur@discussions.microsoft.com> wrote in message
news:A0DE7A20-1473-4EF8-A550-977974314D94@microsoft.com...
>I need to build in some role authentication for a web app... so, going
>to
> use the web.config to build my rules for the location files.
>
> my question is.. does anyone know?
>
> on my development box (out of work), i'm out XP Pro... and i've created
> some groups and users to test it...
>
> in the real deal, it's going to be Win 2003 Server using Active
> Directory..... Obviously, i dont have AD on XP Pro..... Is it the
> same
> thing? Will it work the same?
>
> Will web.config be able to recognize the groups that a user belongs to to
> correctly authorize viewing a page based on role authentication?
>
>
> So, will IsInRole() check against groups created in Active Directory on
> Win2003 Server?



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: Thumbnail security problem?
    ... have written or maybe you don't understand the HTTP 1.0 Basic Authentication ... will receive a 401 response from the web server. ... Ok, now that you see the basics, the problem we are seeing is as follows: ...
    (microsoft.public.security)
  • IIS6 - Integrated Authentication Probs
    ... server to a UNC share on another server ... It seems that when I use "integrated authentication" that the credentials ... Hence - this is a general problem with the way the web server is using my ...
    (microsoft.public.inetserver.iis.security)
  • 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)
  • Re: Kerberos machine authentication - apparent authentication fail
    ... > until logon), the wireless connection can kick off when it is ready. ... > was confirmed in the server event logs with IAS (i set that up as the radius ... > as an ordinary user kicks in and takes over from the machine authentication. ... > while the network sorts itself out and a double click on a network link of ...
    (microsoft.public.windows.server.security)