Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...User Account configuration: Email as usernameUser Account configuration: Email as username
Previous
 
Next
New Post
8/2/2010 9:07 AM
 

Sebastian usually has these types of questions covered, so if you can... (Else, anyone else who has answers, please...)

I'm currently working on a site that requires members and member roles for access to certain pages, etc. That's all set up and working fine. However, my client's current website assigns the member / user their email address as their login name, and naturally they would prefer this rather than giving user's the option to enter their own username.

My questions the are:

  1. How do I set account logins so that the username is the users email address?
  2. Ideally, I don't want host logins to have to use the email address, so it the above only possible for certain roles (a long shot)?
  3. I see in Admin > user Accounts > User Settings in the "Membership Provider" section, there is a disabled checkbox for "Requires Unique Email"
    • Obviously, the email address (regardless of the username being email issue) must be unique.
    • How do I set this? I'd imagine in the web.config?
    • Again, an example would help, please...

As an aside - but might be important - I am using DataSprings Custom / Dynamic Registration (3.2) module for user / member registration, as I have some custom field requirements. Not sure how this would affect things.

Also, if there is a solution for the email as username issue:

  1. How would this affect users being able to edit their user credentials / account..?
  2. Would this field then not be editable..? Just need some insight, please...

Then lastly, how does one set up admin to send users a verification code on registration..?

Thanks in advance.

Jon


Shebang Websites - A product of Mogridge Design
Hey, we're partnered with UntangleMyWeb.com

 
New Post
8/2/2010 2:21 PM
 
There is not  a way with the default setup to force this, but Dynamic Registration from DataSprings can get you setup with this process, that forces the username to be e-mail.

You will need to also change the Unique Email setting, in the Web.config under the membership provider section.

-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
8/2/2010 3:50 PM
 

Hi Mitch

Thank you for the response.

Do you by any chance have an example of how to change the web.config..?

Thanks
Jon


Shebang Websites - A product of Mogridge Design
Hey, we're partnered with UntangleMyWeb.com

 
New Post
8/3/2010 4:30 AM
 
Hi,
You just have to set your web.config with requiresUniqueEmail="true" in element <add name="AspNetSqlMembershipProvider">.

To send users a verification code on registration, you need to set user registration mode to "verified mode" in Site Settings menu.

Hope that helps.



Stéphane TETARD
ARICIE - Member of DotNetNuke France
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...User Account configuration: Email as usernameUser Account configuration: Email as username


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out