LoginWithApiKey Method

Description
Logs the specified user with API key on to the site administration application.
Available in versions: ALM 15 and later
Syntax
Visual Basic
Public Sub LoginWithApiKey( _
   ByVal ServerURL As String, _
   ByVal apiKey As String _
   ByVal apiKeySecret As String _
) 
Parameters
ServerURL
The URL in the format http://<server name>[:<port>]/qcbin.
apiKey
The API Key Client ID that you obtained from the ALM customer administrator to use for API key authentication.
apiSecret
The API Key Secret that belongs to the Client ID you passed.
Example
Private Function LogOnWithApiKey(ServerURL, ApiKey, ApiKeySecret)
    Set m_SAClient = CreateObject("SAClient.SaApi.9")
    m_SAClient.LoginWithApiKey ServerURL, ApiKey, ApiKeySecret
End Function
See Also