Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hey guys I need to get a list with the users/ad groups who have access to the various streams. But not through QMC. Looking to create my own model, so i need to use an API.
PLease help
Hi,
Have you checked this API page? It might have what you are looking for.
https://help.qlik.com/en-US/sense-developer/June2020/APIs/RepositoryServiceAPI/index.html#Methods
You should be able to use this endpoint:
https://help.qlik.com/en-US/sense-developer/June2020/APIs/RepositoryServiceAPI/index.html?page=1322
Do a POST with a body looking something like this (set "resource filter" to match your filter requirements, this one filters on the stream name 'Everyone'):
{
"resourceType": "Stream",
"resourceRef": {
"resourceFilter": "((name eq 'Everyone'))"
},
"actions": 2,
"environmentAttributes": "context = AppAccess; ",
"subjectProperties": [
"id",
"name",
"userId",
"userDirectory"
],
"auditLimit": 1000,
"outputObjectsPrivileges": 4,
"resourceProperties": [
"name"
]
}
Thanks Yko
I'll give it a try