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 ForumsAuthenticationAuthenticationDisplayName instead of FirstName???DisplayName instead of FirstName???
Previous
 
Next
New Post
1/9/2006 5:39 PM
 

I've been looking all over looking for a solution to my problem.  I am using DNN 3.2 with active directory turned on for my local intranet.  The Active Directory part of DNN pulls the firstname and lastname from AD but what i would like is it to full the firstname and lastname from the AD displayname.  I see a reference to displayname on source page "controls/ADSI/configuration.vb" line 133.

For example the AD firstname would be "Judith" and AD lastname "Smith" but AD displayname would be "Judy Smith"

Has anyone been able to use the display name?

 
New Post
7/17/2006 4:21 PM
 
Since I am working on the same thing I am wondering if anyone has any insight to this problem.  Any news in the past seven months with this issue?


 
New Post
7/20/2006 10:52 PM
 

Hi guys same issue except with DNN 4.3.3

I'm also using it for an intranet and have setup Windows Authentication. It works well, my domain users are automatically being logged into the website with their Domain credentials. But again, on first visit to the site the Display Name field does not automatically populate, but the other fields, First Name, Last Name and Email all self populate from the AD but not the Display Name.

Until this field is populated the users cannot access their User Profile as the Display Name link does not display next to the Login link.

I am currently loggin in as an admin and manually entering the Display Names but our domain has around 200 users :(  It would be really easy to fix this small bug with a simple string manipulation if I knew where in the code to add it. I'll spend I bit of time trying to dig through the module and see what I can come up with but its best if a proper "Official" fix takes place.

Hope someone gets this one resolved soon.

Cheers,
Darren Stahlhut
ASP.Net (VB.Net) & SQL Developer

 
New Post
7/21/2006 3:22 PM
 

I have cracked the top on the AD stuff before and I am getting ready to do it again.  I am starting a new thread call features you want.  Let's get all the ideas in there and I will take a look at them when I am in the code in a week or so.

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
7/22/2006 2:57 AM
 

Darren,

Same issue, installed DotNetNuke last week and got upset from a thought that I would need to manually update Display Names for all users in the company (although 60, not 200!). Being a lazy guy, I always search for easier solutions ...

I have analyzed the current source code, and the only way I could fix the issue is by hacking the database stored procedure.  But in the end it works perfectly! Modify the dbo.AddUser stored procedure, and check if the @DisplayName parameter is empty, then make it @Firstname + ' ' + @Lastname:

IF ( @DisplayName is null OR @DisplayName = '' )
BEGIN
   SET @DisplayName = @FirstName + ' ' + @LastName
END

More so, apparently our AD did not have email addresses properly entered for all users. So I put a hack into the stored procedure to infer the email, if it's emtpy. But you don't have such a problem.

The only downside, is that this fix might be overwritten by SQL scripts if dotnetnuke installation is ever upgraded. By that time I am hoping proper fix will be available, though.

Hope this helps (until official fix is posted).

Cheers,
Lev.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationDisplayName instead of FirstName???DisplayName instead of FirstName???


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