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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationI have an idea for getting Custom Attributes into DNN... What do you think?I have an idea for getting Custom Attributes into DNN... What do you think?
Previous
 
Next
New Post
1/8/2007 2:13 PM
 

Alright,

So I have done a lot with DNN and Active Directory over the last few months (See DNN ADFIX http://www.getyourowntots.com/Projects/DNNProjects/DNNADFix/tabid/97/Default.aspx).

Anyway, I have gone farther with DNN and AD so that now I have the user's profile sync with all sorts of custom variables that I created in Active Directory.

It is pretty slick, but pretty dang static. 

I can see that in the future as we track more and more stuff with Active Directory we are going to want to use more and more custom attributes.  I don't want to have to recompile DNN everytime I want to add a new AD custom attribute to a profile. 

I have been thinking about this problem for a few weeks now and this is what I came up with.  Not sure about the feasibility of this, but maybe one of you will know.

Here is my thought:

Everytime DNN asks for a field out of a user's DNN profile I would have some sort of middle tier/provider that would intercept the request and query Active Directory for the value.  Then the middle tier/provider would return the value from Active Directory for use inside Dotnetnuke.

This method would eliminate the synchronizing of profile data between Active Directory and DNN. 

My thought is that using DNN's new User Profile Attributes you could create an attribute in DNN that matched an attribute in Active Directory, therefore whenever someone tries to access tha attribute from within DNN they will be simply passed along to Active Directory.

Does that sound reasonable? Doable? Could it be a Provider or would it have to be a core modification?

Brainstorming,

Stuart


Hilbert Solutions, LLC
Owner, Hilbert Solutions, LLC
http://www.HilbertSolutions.com
A DNN Service Provider
From Module Development to DNN Upgrades, your one stop DNN Shop
 
New Post
1/22/2007 3:12 PM
 

I actually wrote this code so now when you access information about a user's profile values are returned from Active Directory based on Profile property name in DNN. 

Is anyone interested in Testing this code out?  If so post to this thread with an email address.

Current code is for 3.x, but I can provide source if you want to convert to 4.x

 

Stuart


Hilbert Solutions, LLC
Owner, Hilbert Solutions, LLC
http://www.HilbertSolutions.com
A DNN Service Provider
From Module Development to DNN Upgrades, your one stop DNN Shop
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationI have an idea for getting Custom Attributes into DNN... What do you think?I have an idea for getting Custom Attributes into DNN... What do you think?


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