Last post Apr 28, 2006 03:28 AM by idumlupinar
Apr 20, 2006 12:19 AM|td_dan|LINK
I am currently working on a module that has a registration form for an organization. I have another ascx file that allows a user with certian permissions to accept or decline membership to the organization. Along with acceptance into the organization I need
to register them as a member of the organizations DNN 3.2 portal.
I am developing in C# and I know a bit about VB.net so I can follow the core code, but I havent figured out just how I can add a member to the portal in one click. Specifically I want to be able to just directly call the correct methods that will add a member
to the portal and to the ASP.Net user tables. I have read that DNN membership doc and I still cant figure anything out. Can someone help me??? What methods do I need to call and Stored procedures etc...
Thanks in advance.
Apr 20, 2006 12:11 PM|td_dan|LINK
I have figured out how to do this already.
If you want me to give information on just how I did it go ahead and post a reply and I will share!
Apr 24, 2006 03:36 AM|idumlupinar|LINK
Apr 24, 2006 09:57 AM|td_dan|LINK
Basically what I did was I created a custom membership page with my own database tables for the back end. Once the information was in the tables I created an administration page in another module to pull certain information from the database tables and display
it in a datagrid. Once in the data grid I simply used the event hanlers from the datagrid to scrape the information being displayed. My module gives the administrator a chance to accept or decline membership in one click. The two accept and deny buttons are
apart of the datagrid.
The DNN classes that I used to create the new membership instance were:
These classes are included in the DotNetNuke.Entities.Users namespace.
By utilizing the methods in the above class you can create a new user to the portal of your choice.
Apr 28, 2006 03:28 AM|idumlupinar|LINK