HostedActiveDirectory::Initialize

The Initialize procedure initializes the Hosted Active Directory namespace with the Plans Manager database. This should be run before any of these procedures are called.

Register

The following settings will be used when registering this service with the Plans Manager:

serviceId 245C703561E34fCD88DA92935FEA3B4D
serviceName Active Directory
serviceDescription Active Directory Services
Plan Types

There will be two plans installed, with no feature types, when initializing:

Name Code Description
ADBusinessOrg AB Active Directory Plan type for a business organization.
ADConsumerOrg AC Active Directory Plan type for a consumer organization.
Customer Types
Name Code Description
BusinessUser BU Customer is a user in a business organization.
BusinessOrganization BZ Customer is a business organization.
ResellerOrganization RO Customer is a reseller organization.
ConsumerOrganization CO Customer is a consumer organization.
ConsumerUser CU Customer is a consumer user.
Group GP Customer is a group.
Contact CT Customer is a contact.

Currently there is no feature segmentation for the Active Directory Service that requires individual features for a plan. Nevertheless a plan is implemented to ensure that the organization has been "enabled" for the service and that service dependencies will be mapped. If in the future segmentation becomes possible, the plan can be extended to include features.

Event Types

There will be several new event types:

Name Code Description
OrgCreated BC An organization has been created.
OrgDeleted BD An organization has been deleted.
OrgEnabled BE An organization has been enabled.
OrgModified BM An organization has been modified.
OrgDisabled BS An organization has been disabled.
UserCreated UC A new user has been created.
UserDeleted UD A user has been deleted.
UserModified UM A user has been modified.
UserEnabled UE A user has been enabled.
UserDisabled DU A user has been disabled.
ContactCreated CC A contact has been created.
ContactDeleted RC A contact has been deleted.
ContactModified CU A contact has been modified.
GroupCreated GC A group has been created.
GroupDeleted DG A group has been deleted.
GroupModified GU A group has been modified.
Create Plans

Two default plans will also be created for standard Business and Consumer Organizations.

Name Type Description Status
BusinessPlan ADBusinessOrg An Active Directory Business Organization. Enabled
ConsumerPlan ADConsumerOrg An Active Directory Consumer Organization. Enabled
 Arguments
 Remarks
 Sample Code
 Applies To
 See Also