Quantcast
Channel: Quality Center / ALM Practitioners Forum topics
Viewing all articles
Browse latest Browse all 5491

SAClient.SAapi.9 User has no permission to access application

$
0
0

 I'm  using HP ALM cloud version.

Using SAClient.SAapi.9 to automate user creation and other repitivie tasks.

I have the TD admin rights but still getting the following error,

---------------------------
Windows Script Host
---------------------------
Script: C:\abcvbs
Line: 7
Char: 2
Error: Failed to login. Please contact system administrator for help.
Description: User has no permission to access application
Code: 80047536
Source: SAClient.SAapi.9

---------------------------
OK

---------------------------

Here is the code to connect 

Set saObj = CreateObject("SAClient.SAapi.9")
If Err.Number <> 0 Then
    WScript.Echo (Err.Description)
Else
    WScript.Echo ("Object Created")   
    saObj.Login "https://******.saas.hp.com/qcbin" , "username", "password"
    If Err.Number <> 0 Then
        WScript.Echo (Err.Description)
    Else
        WScript.Echo ("Logon Successfull")
        saObj.Logout
    End If
End If

What am I doing wrong?

 


Viewing all articles
Browse latest Browse all 5491

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>