Email this Page Log Support Call Send Feedback Print

Previous Topic

Next Topic

Book Contents

Book Index

LogOn(LibraryAlias, UserName , Password)

Initiates a user session. Must be called before any other functions.

The AuthorIT Administrator module should be used to create a User within the library. This user should be exclusively for use by the Integration Server. Privileges can be set against this user, ensuring that edit history and object locking are well managed.

Parameter

Type

Explanation

LibraryAlias

String

A string containing the Alias of the library to logon to. These must be manually specified in the AuthorIT.Config configuration file.

UserName

String

Name of user to log on as.

Password

String

Password for the specified UserName.

Return

String

LogonID if successful, or error message.

The following error messages may be returned:

Error - Cannot access temp folder

Cannot find licensing in AuthorIT.Config

Invalid license Code or Key

Logon failed - Number of licenses exceeded

Failed to find library [LibraryAlias] in AuthorIT.Config

Logon failed - OpenLibrary failed

Logon failed - Invalid Username or Password

See Also

Functions

LogOff(LogonID)

Object Functions

Folder Functions

Release State Functions

History Functions

Translation Functions

Other Functions

Top of Page Email this Page Log Support Call Send Feedback Print