Create Subscriber In AD

Contents

Overview. 1

If You Are Running 4.0(1) READ THIS. 1

Obtaining Updates. 2

Revision History. 2

Overview

The Create Subscriber In AD sample code shows how to create a new mail enabled AD user in the directory and make them a Unity subscriber in one step.   It covers how to check for available licenses prior to the add, how to check for extension uniqueness across the dialing domain, call the stored procedure for creating the user, ask for the information to be synched to the directory and how to get the results of that synch asynchronously.

The interface in this example is very simple, allowing you to enter just the basic information needed to create a new user and a few additional items that are commonly needed by sites wanting to do this type of thing.  This isn’t designed to offer you an alternative to the SA for adding new users on the Unity server, it’s intended as a vehicle to show folks how to incorporate such functionality into their own business processes.

 

This example is coded and tested against Exchange 2000, however it should also work for Exchange 5.5.  The Directory monitor does not currently have the ability to create new users in the Domino directory via the DUCS interface provided by the Lotus folks at present.

NOTE: The Mailbox store option at the bottom of the screen shot above has no effect on 4.0(1) – the stored procedure for creating users doesn’t expose this option until 4.0(2).

If You Are Running 4.0(1) READ THIS

You need to upgrade to 4.0(2) to use this code sample properly. You will need to install the Cisco Unity Access Libraries (CUAL) which is available off the source code samples page of www.CiscoUnityTools.com.

Obtaining Updates

You can get updates to this code example and all other samples and tools at www.CiscoUnityTools.com

Revision History

Version 1.0.2

*          Updated with release of 4.0(2)

Version 1.0.1

*          First ship of example code

 

© 2003 Cisco Systems, Inc. -- Company Confidential