Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket

login

Starts the login for a session in the localization version in Episerver Campaign.

Validity of a session

The sessionId – and therefore the session – becomes invalid after 20 minutes. You must use the login method to obtain a new sessionId.

Type: String

Parameters

NameTypeValue
mandatorIdlongID of the client you want login to
usernameStringName of the user – must have the INTERFACE_WEBSERVICE permission
passwordStringPassword of the user

Return values

A sessionId that is required by all web service methods

Code structure

String login(long mandatorId, String username, String password)

Next