Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunityDoc feedbackLog In
GitHubNuGetDev CommunityDoc feedback


Queries the client ID in Optimizely Campaign.

Throws an exception if the current logged in user has no permission for the client to which the mail ID belongs.

Type: long


sessionIdStringID of the session
mailIdStringMail ID

Return values

Client ID

Code structure

long getMandatorId(String sessionId, String mailId)