Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I'm currently wondering whether it's possible to get a list of available apps available to a given user using the QRS API.
I can get my user using the qrs/user endpoint, for example..
/qrs/user/a3c2a172-d8ac-41a2-8a10-01238d612605
and my list of apps using the qrs/app end point..
/qrs/app/full
I would have thought there would have been some relationship between the two.
I've scoured the documentation for a couple of days now, but its not clear which property refers to access/permissions.
Any help/guidance appreciated.
I've never used them myself, but you should be able to use the /qrs/systemrule/security/audit endpoints for this. This, for instance, is the one used by the QMC to produce the audit matrix so it might be the easiest one to figure out the correct body for (just look at traffic of the QMC):
https://help.qlik.com/en-US/sense-developer/June2020/APIs/RepositoryServiceAPI/index.html?page=1514
But this one might be closer to what you want:
https://help.qlik.com/en-US/sense-developer/June2020/APIs/RepositoryServiceAPI/index.html?page=919
I used this body which seemed to do what it was supposed to:
{
"resourceType": "App",
"Action": "read",
"UserId": "<GUID for user copied from the QMC>"
}