Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Affordable ASP.NET Hosting Service
  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Can't assign UserInfo.Profile items
Previous Previous
 
Next Next
New Post 6/27/2006 11:43 AM
User is offline Mark Larsen
4 posts
10th Ranked


Can't assign UserInfo.Profile items 

I'm tyring to develop a module that will help us add a new user to 10 different company system. DNN, Active Directory, exchange, GoldMine, Quoteworks etc....

I'm using the UI.UserControls.User, UI.UserControls.Address & Wizard API. When I finish the wizard I populate a new UserInfo object with the UI control values and then attempt to create a new DNN user......

Here is the issue - The UserInfo.Profile.FirstName is acting as a read only property.

Dim NexusUser As New DotNetNuke.Entities.Users.UserInfo
NexusUser.PortalID = PortalId
NexusUser.Profile.FirstName = userCtl.FirstName

When I run this code there are no errors but the value of the userControl is not assigned to the UserInfo.Profile.FirstName. I can assign it to the old UserInfo.FirstName but not the the profile properties.

I checked the Register.ascx.vb and they add a new user using the UserInfo.Profile.FirstName method as I have. Register.ascx I'm sure works... What am I missing?

Thanks

 

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Can't assign UserInfo.Profile items
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


PointClick.Net DNN Solutions
DotNetNuke Hosting Platform for Business and personal use.
PointClick.Net Hosted Solutions
Advanced Web Portals by Infoscaler
Infoscaler is a California based company that provides advanced Web Portals, E-commerce Sites, Database Applications and Intranet Solutions on the DotNetNuke and Microsoft.NET platforms.
www.infoscaler.com
DotNetNuke® in Sweden
All service of DotNetNuke® in Sweden.
Olsmar Konsult

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP