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 ForumsAuthenticationAuthenticationHow can I pull custom fields in AD into User Profiles via AD authentication?How can I pull custom fields in AD into User Profiles via AD authentication?
Previous
 
Next
New Post
8/26/2009 10:45 AM
 

Hi,

I'm getting my feet wet with dnn 5.01 and everything seems to be flowing smoothly (for the most part). I do have one problem that I'm trying to figure out for the life of me and I just can't do it - and I'm hoping someone might be able to point me in the right direction.

I wish to pull down several extra fields from within Acitve Directory into each User Profile. I have it working now just fine with the normal fields, but some fields just aren't working properly - Department, Manager, Title, home phone#, IP Phone, etc. I think i've figured out that I might have to recompile the .dll in order to put the proper fields in to the authentication module for it to work, but honestly, I haven't really a clue where to begin - let alone how to disassemble dll's in order to place code into it.

Can someone help me out or point me to some literature maybe on how to do this properly? BTW - this is for a corporate environment and we're moving from a basic intranet site to dnn and so far everything is good - but having a "phone-type-directory-listing" available to the staff is a pretty big thing here.

 

Thanks in advance!!

 
New Post
8/27/2009 11:49 PM
 

 Well you won't have to decompile the .dll to make changes but you will need to download the source version and load it up in Visual Studio to make changes and then compile a new .dll. The section of code where it pulls from the AD and fills in the user info is called FillUserInfo and can be found in the ADSIProvider.vb file.

 
New Post
8/31/2009 1:20 PM
 

Well I found the section, changed what needed to be changed - but for the life of me, I can't compile it properly. Everytime I try to load the .proj in Visual Studio 2008 it says System.Runtime.InteropServices.COMException and it doesn't load....I realize that this isn't a Visual Studio forum, and I appreciate the help in pointing me to the proper area to make the necessary changes - but I'm totally unsure how to load this properly or what to do in order to compile it so I can use it. If anyone has any hints for me - I'd be greatly appreciated as this has me quite confused at the moment at least :(

 
New Post
8/31/2009 1:45 PM
 

Have you got IIS installed on your development system? I did a quick google for the error and that was one of the results.

 
New Post
5/25/2010 1:49 PM
 
I'm trying to alter the ActiveDirectory_05.00.02_Source to include 'Department', but get 102 errors when I open the Solution and can't build the new dll. Most of the warnings look like... 'Namespace or type specified in the Imports DotNetNuke.Security doesn't contain any public member or cannot be found.' and "UserCreateStatus is not defined"

What am I doing wrong? Do these files need to be sitting in a DNN site or something??

Thanks for any help.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationHow can I pull custom fields in AD into User Profiles via AD authentication?How can I pull custom fields in AD into User Profiles via AD authentication?


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