The Edit Subscriber example application shows how to go about properly editing properties on a subscriber in Unity and, when necessary, forcing that information to synchronize through to the back end directory.
This tool must be run on the local Unity server – there is another programming sample on www.CiscoUnityTools.com that shows you how to find and connect to remote Unity servers. The interface in this example is very basic. I didn’t spend any time getting fancy with table outputs that look nice or the like, this is a stripped down UI that’s simply a vehicle to show you how to do this type of thing in your own applications.
When you first fire up the tool it just dumps the aliases of all the subscribers on the local Unity server, nothing fancy. For a production application you’d probably want a slick grid control here showing first, last, display names, extensions, alias etc… but for portability and simplicity I’m keeping it real basic here.
When you select the alias of a user you want to edit and hit the “Edit” button the following form pops up.
Just edit the information you want to save through and hit the Apply button. Not much to it.
WARNING: This is “for real”. It actually will update the information on the user you select, this isn’t dummied up or anything. Be careful. This doesn’t have all the data checking and error handling in it that you would want in a full scale production application. These are just simple example applications to show you how to get at the data.
This version of the Edit Subscriber example only runs on Unity 4.0(3) – there is another version available on www.CiscoUnityTools.com for Unity 4.0(2) systems.
This tool need to be run on the local Unity server
This example is coded and tested against Exchange 2000, 2003 and Exchange 5.5. It should work for Domino as well.
You can get updates to this code example and all other samples and tools at www.CiscoUnityTools.com
First ship of example code
© 2003 Cisco Systems, Inc. -- Company Confidential