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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...auto-registrationauto-registration
Previous
 
Next
New Post
4/29/2007 10:24 PM
 

sirs,

I need a module or a way, that receives passed parameters, and then auto-registers a user to my dotnetnuke website upon getting in (i have an auto login, thanks to a friend in this forums) ? if the user is not registered, there should be a way to register this person on the fly.. thanks sirs for your valuable help!

John

 
New Post
5/4/2007 2:59 AM
 

John -

what parameters are you needing being passed in and how - this really isnt that hard


Dylan Barber http://www.braindice.com - Dotnetnuke development classes - skins and modules
 
New Post
5/6/2007 10:09 PM
 

i pass employee name and an employee id from the main site to my dotnetnuke site.

when I get it in my dotnetnuke site, i put it in sessions -----> session("employee name") = request.form("employeename")

session("employee id") = request.form("employee id")

then i try to log the person in:

if userid > 0

object as userinfo = new userinfo

Usercontroller.userlogin(username, object as userinfo..................................)

response.redirect("default.aspx")

if userid<0

(i should register the user first. meaning this user is not in the users table of dotnetnuke)

usercontroller.createuser(object)

 

but then again, it doesn't work well. is it that easy? how? forgive me for the simple code, i just summarized it and simplified it so you could understand what i mean better. so i am having trouble with the method usercontroller.createuser(object). there is no object created even if I put the necessary stuff:

object.membership.isapproved = true

object.username = Session ("employee name")

object.membership.password = "password"

etc etc etc... please help me sir thanks.

John

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...auto-registrationauto-registration


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