AD User Information Update Form

J

Jerry Camel

I'd like to get all of the user information (Phone extension, Department
Name, etc.) updated in AD. I figured it would be pretty easy to create an
Outlook form to request this info from each user and update AD when they
reply.

Can anyone point me to existing resources that would help me develop
something like this? Or if there is a better way, I'm open to that, as
well. Thanks.

Jerry Camel
rlrcstr AT msn DOT com
 
J

Jerry Camel

Thanks for the response, Sue.

Here's a bit more detail if anyone wants to help me tackle this:

From what I can tell, all the examples seem to be forms to allow an
administrator to update AD. I want to send a message to each user in the
GAL and when they click reply, it shows them a form with their current AD
info that they can update/complete and then send back or have it
automatically update AD.

I may be missing some better way to do this, but here's what I've got so
far:

I created a form that basically tells the user to reply and fill out the
form they are presented with. I've set the actions on this form to use
another custom form as the reply form. This second form is the one with all
the fields the user needs to fill out.

First, how do I tell the first form to close itself when the user clicks
reply? I tried putting code into the Item_Reply event, but it never seems
to get triggered. (On either form.)

How do I determine what user currently reading the form, so I can populate
the fields with their current AD info?

Second how do I create a process at the server end to process the messages
when they are returned with the user's info?

I realize it's a lot to ask, but any help is greatly appreciated.

Jerry

-----------------------------

There's already at least one form to do this -- see
http://www.slipstick.com/exs/updategal.htm
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
S

Sue Mosher [MVP]

Item.Close should close the form -- include the parameter value you want to use to determine whether data is saved, etc.

Namespace.CurrentUser is the current user, but subject to security prompts -- see http://www.slipstick.com/outlook/esecup.htm#autosec . You'll need to use CDO or Redemption (or ADSI) anyway to get the user's detailed info.

The server process could be an Exchange event sink or an external .exe that runs periodically and uses ADSI to perform the update.
 
J

Jerry Camel

I tried Item.Close and it does nothing. I put a msgbox in the event handler
to troubleshoot and it never gets displayed. Does it have something to do
with the fact that the reply form is a different form?

You help is truly appreciated.

Jerry


Item.Close should close the form -- include the parameter value you want to
use to determine whether data is saved, etc.

Namespace.CurrentUser is the current user, but subject to security
prompts -- see http://www.slipstick.com/outlook/esecup.htm#autosec . You'll
need to use CDO or Redemption (or ADSI) anyway to get the user's detailed
info.

The server process could be an Exchange event sink or an external .exe that
runs periodically and uses ADSI to perform the update.
 
S

Steve Mandell

Sorry I can't really contribute but, if you don't mind I'd like to know
how it turns out. I need to do the exact same thing, and your idea
(email, forms) seems to be the best.

Steve



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top