?
Solved

VB Code to Update display name in Exchange 5.5

Posted on 2004-08-07
8
Medium Priority
?
218 Views
Last Modified: 2006-11-17
As part of my on-going project a utility is wanting to be added so that a user could update their own display name on Exchange 5.5 with-out actually opening up exchange. Or calling the Server people.  15 server personnel 50,000 plus users.
See the problem.

Thanks
John
0
Comment
Question by:John Sheehy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 10

Expert Comment

by:kiranghag
ID: 11745330
you need to use LDAP to connect to the ADS and update the desired fields.
you can write a small utility which will
1. take username and password from user and validate them on ADS.
2. take the desired displayname and update the same in ADS

the sample code to do this can be obtained from microsoft's online ADSI scripting sample pages.
partial code is ready with me but its in the office, need to wait for monday eve...
0
 

Author Comment

by:John Sheehy
ID: 11745359
ADS I am assuming is Active Directory???
0
 
LVL 10

Expert Comment

by:kiranghag
ID: 11745391
yes..me too...
0
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 

Author Comment

by:John Sheehy
ID: 11745401
I will look at the wesite but any code you can provide would be helpful as well.  Thanks
john
0
 

Author Comment

by:John Sheehy
ID: 11745412
Now looking at the cripting for this can I write a MS Access 2003 module to do the same thing or does it have to be VB script??

John
0
 
LVL 10

Expert Comment

by:kiranghag
ID: 11745452
i think you should be able to handle this in the vb macro inside access..
bt never tried it...so nt sure..
;-)
will try to provide you the code in a day or two at max
0
 
LVL 104

Assisted Solution

by:Sembee
Sembee earned 1000 total points
ID: 11746177
You might want to look at GALMOD which is a Microsoft tool in the Back Office Resource Kit. You will have to adjust something for the users to be able to modify the display name, so take a look at this article to see what is required:

http://www.msexchange.org/tutorials/User_Access_To_The_Exchange_55_GAL_With_GALMOD32EXE.html

Simon.
0
 
LVL 22

Accepted Solution

by:
kristinaw earned 1000 total points
ID: 11753039
here's some more information to go along with GALMOD. I had originally looked at using this utility but found that it required too much tweaking of permissions, etc. The following two pages take the same concept, except that they use some vbscript code wrapped up in a COM wrapper, then put the whole thing in an ASP page. The result is a very nice web page that will allow the user to update their own info without you having to make any security/permissions changes. I modified the code slightly in my environment so that it presents ONLY the info for the currently logged in user, and I also added some other queries so it presents a little more info.

hth,

http://www.outlookexchange.com/articles/glenscales/galmdcom.asp
http://www.outlookexchange.com/articles/glenscales/comofex.asp

Kris.
0

Featured Post

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After hours on line I found a solution which pointed to the inherited Active Directory permissions . You have to give/allow permissions to the "Exchange trusted subsystem" for the user in the Active Directory...
Unified and professional email signatures help maintain a consistent company brand image to the outside world. This article shows how to create an email signature in Exchange Server 2010 using a transport rule and how to overcome native limitations …
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question