
858 Chapter 21: Administering Unity Programmatically
licensing is OK, the next step is adding the information about the subscriber into the local
SQL database in the Subscriber table using the sp_CreateSubscriber stored procedure. The
stored procedure requires you to pass in a primary extension number; a reference for a sub-
scriber template to use when creating the subscriber, and the new subscriber’s alias, first,
and last names. You can optionally pass a number of other items in, such as the display
name, SMTP Address, AddressByExtension value, language, and so on. Not all properties
associated with a subscriber can be customized in this call ...