Now that Umbraco uses ASP.NET membership you should be able to set the "requiresUniqueEmail" attribute on the UmbracoMembershipProvider section of the web.config:
I haven't actually tried this and the default value for that setting is False, so Umbraco may be overriding this somewhere, in which case we'll have to explore other methods.
I was actually thinking of doing this for the project I'm working on now, but instead I decided to use Member Groups to separate my users as their types were so similar. Is this an option for you?
The strange thing is that once you have created a user with a unique email address, you are still allowed to edit the user and change the email address to a NON unique email address.
Perhaps this is a workaround. Generate a dummy but unique email address when the user is created then immediately upadate the members email.
disable unique member email
I have a situation, where multiple members can have the same email adress...
Is it possible to disbale the requiremnt for unique email adresses in the member section? If so how?
Hi,
Now that Umbraco uses ASP.NET membership you should be able to set the "requiresUniqueEmail" attribute on the UmbracoMembershipProvider section of the web.config:
<add name="UmbracoMembershipProvider" type="umbraco.providers.members.UmbracoMembershipProvider" enablePasswordRetrieval="false" enablePasswordReset="false" requiresQuestionAndAnswer="false" defaultMemberTypeAlias="patientModel" passwordFormat="Hashed" requiresUniqueEmail="false" />
I haven't actually tried this and the default value for that setting is False, so Umbraco may be overriding this somewhere, in which case we'll have to explore other methods.
I was actually thinking of doing this for the project I'm working on now, but instead I decided to use Member Groups to separate my users as their types were so similar. Is this an option for you?
Greg.
This doesnt work. Any other options? Its really important for me to do this some how, as i cant really work around the requirement.
Any help appreciated.
I am looking for a solution to this as well.
Seems to be previous posts regarding this but no solutions as yet.
Can anyone confirm that this is a "feature" of Umbraco. (ie Umbraco enforces unique email addresses)
Here is my config settings:
<providers>
<clear />
<add name="UmbracoMembershipProvider" type="umbraco.providers.members.UmbracoMembershipProvider" enablePasswordRetrieval="false" enablePasswordReset="false" requiresQuestionAndAnswer="false" defaultMemberTypeAlias="Another Type" passwordFormat="Hashed" requiresUniqueEmail="false" />
<add name="UsersMembershipProvider" type="umbraco.providers.UsersMembershipProvider" enablePasswordRetrieval="false" enablePasswordReset="false" requiresQuestionAndAnswer="false" passwordFormat="Hashed" />
</providers>
And I am running: umbraco v 4.9.0 (Assembly version: 1.0.4633.18696)
I will keep googling
Warren
There seems to be two issues rasied for this
http://umbraco.codeplex.com/workitem/30558
http://umbraco.codeplex.com/workitem/27358
Perhaps add your vote to issue number 27358
Warren
The strange thing is that once you have created a user with a unique email address, you are still allowed to edit the user and change the email address to a NON unique email address.
Perhaps this is a workaround. Generate a dummy but unique email address when the user is created then immediately upadate the members email.
Wow, you're right. That might work as a workaround. Thanks!
is working on a reply...