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

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...DNN 5.x.x  User/Membership/RolesDNN 5.x.x User/Membership/Roles
Previous
 
Next
New Post
12/4/2009 9:55 AM
 

I would like to colletct in ONE PLACE all the information required to manipulate ASPNET and DNN membership, users and roles.

 I  spent a lot of time reading and trying the ideas found on the net, somehow  none of it gives the full picture. At this point I am working with the DNN Community Edition 5.1.4
I am looking for:
1. list of all namespaces that are related to the subject
2. location where those can be found on the host and/or portal installation folders.  Which folders are being updated when I upgrade to newer version of  DNN?
3. best ways to add/include those namespaces while working with MS VS2008 and C#
4. DOT NET framework updates membership in aspnet tables only, what are the possibilities to call DNN methodes to update corresponding DNN tables.
    I know that the easiest way will be to write my own membeship provider, however it goesn against the idea of DNN framework, especially when this functionality exists when we are setting an user in a portal
5. or did I completely miss the point?
 
Any hints or ideas?
 
 Chris
 
 
New Post
12/8/2009 4:33 PM
 

1. Process of adding users to the web site exists outside of the DNN based website. It's required by single sign-on nature of the environment.

2. Namespaces used in the code are as follows:

using

DotNetNuke;

using

DotNetNuke.Common;

using

DotNetNuke.Entities;

using

DotNetNuke.Entities.Profile;

using

DotNetNuke.Security.Membership;

using

DotNetNuke.Data;

using

DotNetNuke.Modules;

 

 

 

 

 

 

 

3.  error #1

The following line:

DotNetNuke.Entities.Users.

UserInfo newUser = new DotNetNuke.Entities.Users.UserInfo();

generate an exception as soon as debugger stops on the line:

+  newUser.FirstName 'newUser.FirstName' threw an exception of type 'System.TypeInitializationException' string {System.TypeInitializationException}
 

Do we have problem with namespace deffinintion?

 

 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...DNN 5.x.x  User/Membership/RolesDNN 5.x.x User/Membership/Roles


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