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

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...How can I assign security role automatically?How can I assign security role automatically?
Previous
 
Next
New Post
2/24/2011 7:40 AM
 
Hello Guys, I.m new to DNN and I was wondering how one can assign a security role for a user upon registration.
Scenario: I have created "9" Security roles, because I have "9" Sub-Pages and each Sub-Page is visible/accessible only for its members through the Security Roles. What was difficult for me was to let users chose a Sub-Page to be a member and so according to their respective choice assign a security role that corresponds to their choice. Can any body help me on that. And also consider I couldn't afford to buy any modules, so .... . Thanks
 
New Post
2/24/2011 3:43 PM
 
there are 3rd party registration modules with additional options, e.g. from www.datasprings.com, you might want to check out. Otherwise you need to create your own one.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/25/2011 1:29 AM
 
Thanks for letting me know my options. And one more thing, can I still use the default Registration Module and add my requirement after the user done registering? i.e. By redirecting the user to another page Eg. "selectRole" and use HTML, javascript and ASP to accept his/her choice then write it to database? If your answer is YES, then How can I read/use the session variables or query string that DNN uses? Thanks again.
 
New Post
3/7/2011 1:10 AM
 
Hi
You need to create a custom module to allow user to select role. Then add that custom module to a page or tab and after user registration redirect to the same tab.

Thanks
Sibabrata
www.mindfiresolutions.com
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...How can I assign security role automatically?How can I assign security role automatically?


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