login2()

Purpose

Performs regular user or super-admin login to the specified customer tenant and initiates a SOAP API session. Unlike the login() method, the customer to login to is specified explicitly by ID. Master Server users with super-admin login permissions can use login2() to call Web Service APIs on the specified customer tenant.

Syntax

login2(string loginName, string password, string custID);

Parameters

loginName

String containing login name for an active Platform user account

password

String containing user password

custID

ID of customer tenant to log into

Output

Session ID that must be used in all subsequent API calls during this session