Information Classification: External Restricted.
See https://www.chili-publish.com/security

Webservice Functions - GenerateApiKey

Generates an apiKey for subsequent calls to the other webservice functions. Use SetWorkingEnvironment to use your user account (if it is an administrator) to access different environments

Declaration

public string GenerateApiKey ( string environmentNameOrURL, string userName, string password );

Arguments

Name

Type

Description

environmentNameOrURL

string

The identifier for the environment in which to log in

This can be:

userName

string

The user to log in with.
This user needs to exist in the specified environment.

password

string

The user's password.
This can be provided as a MD5 encoded string (which of course is the preferred method)

Returns

loginResult

All information on this page must be treated as External Restricted, or more strict. https://www.chili-publish.com/security