on 01-19-2016 5:53 PM
Hi all,
I'm trying to determine the authentication method used for the current XS session user. Apart from the "samlUserInfo" property, there's no indication of the authentication method on the $.session object. I found that the M_XS_SESSIONS table contains this info, but i'm not sure how to get the "XS_SESSION_ID" field in order to look up the record corresponding to the current user.
Any suggestions? We have HANA SPS10.
Thanks,
Charles
Charles,
if you are looking for the XS session id to debug, instead of looking into the xs code, open the developer tools on google chrome and look for the xs session id.. or xs cookie. I believe that is what you are looking for.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Charles, where are you seeing the XS_SESSION_ID as big int?? the session id.... if you need it to debug you need to get it from the chrome developr tools and after you set up the debugging session on your studio then you can select the GUID... yes you should be using a GUID as your session id
Hi Sergio... XS_SESSION_ID is a big int on this system view: M_XS_SESSIONS - SAP HANA SQL and System Views Reference - SAP Library. I'm trying to query this view to get the value of the AUTHENTICATION_METHOD field. I don't really care too much about the XS session ID value, except to look up the current session in this table.
ok.. then I don't know exactly how to get that, based on the api documentation.. that's not available.. unless I missed it.. here is the url to the documentation to the $.session api
http://help.sap.com/hana/SAP_HANA_XS_JavaScript_API_Reference_en/$.Session.html
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.