Don't miss out Virtual Happy Hour today (April 26).
Try our conversational search powered by Generative AI!
AI OnAI Off
Don't miss out Virtual Happy Hour today (April 26).
The multiplexing membership provider uses the CreateUser method on the DefaultProvider. Disassembling EPiServer.Security shows
MembershipUser membershipUser = this.DefaultProvider.CreateUser(..
Assuming you're using the default configuration, I guess that would be provider1; System.Web.Security.SqlMembershipProvider. CMIIMW. If I remember correctly the SqlMembershipProvider calls an aspnet stored procedure on the database (dbo.aspnet_Membership_CreateUser or the like). So a guess would be that Membership.CreateUser() ends up doing the same thing.
If you'd like to have a look try ILspying System.Web.Security.SqlMembershipProvider.CreateUser
Hope this helps.
//Mathias
Is it the same to use the .NET procedures than the EPiServer ones while creating users, roles and profiles?
I mean, is it the same to do use this:
Membership.CreateUser()
and this:
multiplexingMembershipProvider.CreateUser()
Thanks