Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Public call to XSJS and $.db

$
0
0

Hi Colleagues,

 

I'm creating a html page that will enable the users to put the <iNumber> and the HANA user will be created in our local sandbox. To do it, I've created a procedure that creates the user, and I'm trying to call it from a XSJS file.

 

The problem is the following, since my page is public, since the idea is that everyone can access it and create the user, when the XSJS code gets the statement $.db.getConnection(); an error is returned: Error: db.getConnection: expects an authenticated session

 

Do you know how to pass the user and password for the connection, or do you have a different idea to solve my problem ?

 

Thanks and regards,

Roberto Falk


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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