Re: Supporting multiple custom RoleProvider versions
- From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng[MSFT])
- Date: Wed, 27 Sep 2006 01:13:37 GMT
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.
.
- Follow-Ups:
- Re: Supporting multiple custom RoleProvider versions
- From: Gaurav Vaish \(www.EduJiniOnline.com\)
- Re: Supporting multiple custom RoleProvider versions
- References:
- Re: Supporting multiple custom RoleProvider versions
- From: Gaurav Vaish \(www.EduJiniOnline.com\)
- Re: Supporting multiple custom RoleProvider versions
- From: Steven Cheng[MSFT]
- Re: Supporting multiple custom RoleProvider versions
- From: Gaurav Vaish \(www.EduJiniOnline.com\)
- Re: Supporting multiple custom RoleProvider versions
- Prev by Date: Re: ASP.NET and directory security
- Next by Date: Re: ASP.NET and directory security
- Previous by thread: Re: Supporting multiple custom RoleProvider versions
- Next by thread: Re: Supporting multiple custom RoleProvider versions
- Index(es):
Relevant Pages
|
|