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 ...Assign role automatically based on Custom FieldAssign role automatically based on Custom Field
Previous
 
Next
New Post
10/16/2012 5:48 PM
 

Hi there,

I would like to know if it is possible to create a custom field in the registration form and, when the user registers in the site, a role is automatically assigned based on that field content.

This is what I would like to do: My customers will be given a secret word during an event. Let's say "NuclearMedicine" After the event I will share with them some cumplimentary information in my website.

If they register and write that secret word "NuclearMedicine" I'll redirect them and allow them to view the contents of that particular event just by assigning them the role "NuclearMedicine". But if they write "UROLOGY" they'll have access to different contents.

If I could manage to do this I will save a lot of time pre-registering the users and assigning the roles manually.

Do you know how to do this? Is it possible? Is there any workarround I don't know?

Many thanks for your support.

Jordi.

 
New Post
10/17/2012 6:16 AM
 
Jordi, this requires a custom module, either to replace profile management or scanning frequently user profiles and assign roles accordingly.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Assign role automatically based on Custom FieldAssign role automatically based on Custom Field


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