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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Missing the obvious?Missing the obvious?
Previous
 
Next
New Post
4/20/2007 1:11 AM
 

Where is the dnn class reference for .Net ? I'm trying to find the right class and property/method so I can determine role membership at runtime (to dynamically alter content in a module being served).

An answer to both questions would be greatly appriciated, but the first is the critical one and I have had no luck in more than 3 weeks now.

 
New Post
4/20/2007 11:08 AM
 

The class you reference to get the DNN core items is DotNetNuke.dll


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
4/22/2007 9:18 AM
 

Sadly - there is no real complete class reference for dnn.

It is somethat is really starting to become needed if the development community is going to grow from strength to strength.

The best place to start for now is with the Core Source Code.

But regardless - to manipulate roles have a look at the role controller possibly:

 

Dim objRoleController As New DotNetNuke.Security.Roles.RoleController
Dim objRoleInfo As New DotNetNuke.Security.Roles.RoleInfo

 

Dim myRoles As ArrayList = objRoleController.GetUserRoles(PortalId, UserId, True)

Westa

 
New Post
4/22/2007 10:21 AM
 

wtatters wrote

Sadly - there is no real complete class reference for dnn.

We are working on addressing the issue so things will improve in the future. However, explanations and sample code are still required to make use of anything. Right now the "deepest" explanations for highly technical stuff is in the Core book:

http://www.amazon.com/Professional-DotNetNuke-ASP-NET-Portals-Walker/dp/0764595636

(yes I wrote a book Building Websites with VB.NET and DotNetNuke 4 but it is for the end user and beginning DotNetNuke programing)



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
4/22/2007 7:34 PM
 

Hey Michael,

Care to expand on where this area is headed ?

In one of my past lives I did a lot of technical writing - seach for Wes Tatters on amazon.com - I may be able to offer some time to help out in this area.

Westa

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Missing the obvious?Missing the obvious?


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