Solved

VB Code to Update display name in Exchange 5.5

Posted on 2004-08-07
8
211 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
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
 

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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

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 250 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 250 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this video we show how to create an Accepted Domain 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 Mail Flow >> Ac…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

747 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now