HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

login

Starts the login for a session in the localization version de 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)

What’s Next
Did this page help you?