Re: Supporting multiple custom RoleProvider versions



Hi Gaurav,

Thanks for your reply.

Yes, no matter how many providers we configured in our application, only
one default provider is used. However, this is the case if we use the
default provider (those special class rather than directly reference the
provider instance) in our application code. Actually, we can
programmticaly get the reference to each provider we've configured in
application web.config and use them in our application, e.g.

================

Membership.Providers["customProvider1"].ValidateUsertxtUsername.Text,
txtPassword.Text);

===================

The following MSDN article also demonstrate this:

**How To: Use Forms Authentication with Active Directory in Multiple
Domains in ASP.NET 2.0
http://msdn.microsoft.com/library/en-us/dnpag2/html/PAGHT000021.asp?frame=tr
ue


Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.

.



Relevant Pages

  • Re: Is a static method sufficient to call it factory?
    ... Simply it was a matter of curiosity... ... > that ensures that you only have to look up the provider once, ... public static AFactory getInstance(){ ... > Chris Smith - Lead Software Developer/Technical Trainer ...
    (comp.lang.java.programmer)
  • Re: What bothers me about the Landis drug charge
    ... In the grand scheme no they don't matter. ... Costs are not rational and comparable from provider to provider. ...
    (rec.bicycles.racing)
  • Re: Blackfish Questions
    ... assembly (or a JAR, for that matter) will already work. ... Do you happen to know if there is an OleDBprovider for Blackfish? ...
    (borland.public.delphi.non-technical)
  • Re: is there a policy type file needed for JSP file privileges?
    ... I'm not familiar with changing that setting for Tomcat but I'm sure it ... Whether your provider will allow you to change it is ... another matter ... Prev by Date: ...
    (comp.lang.java.programmer)
  • "DefaultIcon" in ActiveSync Service Provider
    ... I found that there are many place to set the DefaultIcon in registry in PC, ... but no matter where I've set, the icon of my provider is still a white ...
    (microsoft.public.pocketpc.developer)