Language: English

User_Customer
SoftLayer_User_Customer::getPortalLoginToken

Overview

Attempt to authenticate a username and password to the SoftLayer customer portal. Many portal user accounts are configured to require answering a security question on login. In this case getPortalLoginToken() also verifies the given security question ID and answer. If authentication is successful then the API returns a token containing the ID of the authenticated user and a hash key used by the SoftLayer customer portal to maintain authentication.

Parameters

username

string

The username you wish to authenticate to the SoftLayer customer portal with.
password

string

Your SoftLayer customer portal user's portal password.
securityQuestionAnswer

string

The answer to your security question.