Windows authentication and SqlRoleProvider



Hi all,

Is it possible to use SqlRoleProvider with windows authentication?

I've tried the Web Site Administration Tool to enable windows
authentication and SqlRoleProvider. When i try to add a user to a
created role i'm not able to see any windows account.

I've tried the WindowsTokenRoleProvider without any problem but i'd
like to store the roles on the sql server and use
User.IsInRole("aRole")

Thanks in advance!

// Mats

.



Relevant Pages

  • Re: General questions about LDAP, GC and access permissions
    ... Windows Communication Foundation) they are authenticated with the regular ... this is done by examing what groups the user is a member of. ... Since the regular windows authentication is used, ... trusted domain in an external forest. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Help please to authenticate Windows users
    ... status error code as well as Win32 error code -- I know the HTTP status code ... Windows Authentication automatically works if the machines are joined to the ... Is VS.Net on the same machine as IIS ...
    (microsoft.public.inetserver.iis.security)
  • Re: Intermittent access to web site secured with Windows authentication
    ... Marcus ... > Windows Authentication is connection-based and not delegatable. ... > various elements of Internet networking that can prevent Windows ... > likely work in your access scenario. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Intermittent access to web site secured with Windows authentication
    ... Windows Authentication is connection-based and not delegatable. ... When you try to access it from home (i.e. Internet scenario), ... in after multiple login prompts. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Custom authentication in a web application
    ... On the server we create our own principal object ... > Any reason for using Windows Authentication here rather than any of the ... >>two overloads of IsInRole to use our own security check. ...
    (microsoft.public.dotnet.framework.webservices)