LoginWithApiKey Method
Visual Basic |
---|
Public Sub LoginWithApiKey( _ ByVal ServerURL As String, _ ByVal apiKey As String _ ByVal apiKeySecret As String _ ) |
- 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.
Private Function LogOnWithApiKey(ServerURL, ApiKey, ApiKeySecret) Set m_SAClient = CreateObject("SAClient.SaApi.9") m_SAClient.LoginWithApiKey ServerURL, ApiKey, ApiKeySecret End Function