Users are not able to view data from database side even after setting the session context property as mentioned below:
Query 1:
select * from ComplianceOperator where operatorlogin like '%AP_FNMS_INTEGRATION%'
Query 2:
exec SetSessionContext <enter the ComplianceOperatorIDhere> ,1
Nov 06, 2019 05:33 AM
Could you give some more detail about what is going wrong? Is some sort of error being reported, or just no results coming back?
Unless you are running a multi-tenant system, you executing SetSessionContext will have no impact on the SELECT query you're running here. If you are running a multi-tenant system, you will need to use a valid tenant ID when calling SetSessionConext instead of the "1" value you have there currently.
Nov 06, 2019 06:15 AM