LDAPCreation

Program ID

MetraPipeline.LDAPCreation.1

Description

LDAPCreation plug-in is responsible for creating, updating and deleting contacts from the LDAP server. This plug-in uses the new account infrastructure to create contacts. Underneath this plug-in, the COM implementation of LDAP objects are used to communicate directly with the Netscape’s C SDK API. 

Note: This plug-in is transactional.

Required Input Properties

None.

Required Output Properties

None.

Additional Configuration Tags

Tag name

Value type

Description

actiontype

string

Indicates whether this pipeline needs to be used for an “account” operation, “contact” operation or “both” operation.

firstname

string

First Name of the account.

lastname

string

Last Name of the account.

email

string

Email address of the account.

phonenumber

string

Phone number of the account.

accounttype

integer

A number indicated Bill-To or Ship-To account type.  1 à Bill-To and 2 for Ship-To.

accountID

integer

A unique value generated for the created account.  No two users in the MetraTech system will have the same account ID.

tariffID

integer

Associated tariff ID of the customer.

geocode

integer

A unique number used for Rating within the pipeline.  It is unique to a city, state and ZIP.

taxexempt

string

A one character string indicating whether a user is tax-exempt or not.

timezoneID

integer

A unique identifier corresponding to a specific timezone.

timezoneoffset

decimal

Offset with respect to Greenwich Mean Time (GMT).

company

string

Company that the account belongs to.  Could be blank.

address1

string

First part of the address.

address2

string

Second part of the address.

address3

string

Third part of the address.

city

string

City part of the address.

state

string

State part of the address.

country

string

Country part of the address.

zip

string

ZIP part of the address.

facsimiletelephonenumber

string

Fax number of the account.

middleinitial

string

Middle initial part of the name.

operation

integer

Integer value indicating whether the operation should be add, update or delete.

Configuration Example

  <configdata>
    <actiontype>actiontype</actiontype>
    <firstname>firstname</firstname>
    <lastname>lastname</lastname>
    <email>email</email>
    <phonenumber>phonenumber</phonenumber>
    <accounttype>accounttype</accounttype>
    <accountID>_AccountID</accountID>
   <tariffID>tariffID</tariffID>
    <geocode>geocode</geocode>
    <taxexempt>taxexempt</taxexempt>
    <timezoneID>timezoneID</timezoneID>
    <timezoneoffset>timezoneoffset</timezoneoffset>
    <company>company</company>
    <address1>address1</address1>
    <address2>address2</address2>
    <address3>address3</address3>
    <city>city</city>
    <state>state</state>
    <zip>zip</zip>
    <country>country</country>
    <facsimiletelephonenumber>facsimiletelephonenumber</facsimiletelephonenumber>
    <middleinitial>middleinitial</middleinitial>
    <operation>operation</operation>
  </configdata>