Campaign Manager API

Connect

This method ensures that delegation or impersonation of users works properly in both domain and workgroup environments. Client applications must call Connect before calling any other methods. Its signature is:

void Connect(
   string username, 
   string domain, 
   string password
);

Method Parameters

Parameters for this method are shown in the following table.

Parameter

Description

Type

Valid Input

username

The username of an account with rights to perform the actions in the client program.

String

An existing username

domain

In a domain: The domain name

In a workgroup: The computer name of the SOA Gateway

String

Domain name in a domain or SOA Gateway computer name in a workgroup

password

The password for the account username

String

Password for username