Qlik Community

Qlik Sense Integration, Extensions, & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

Announcements
BI & Data Trends 2021. Discover the top 10 trends emerging in today. Join us on Dec. 8th REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Contributor II
Contributor II

How do i see who has access to a stream (but not through QMC) - via API

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

Labels (2)
3 Replies
Highlighted
Partner
Partner

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

Highlighted
Employee
Employee

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"
  ]
}

 

Highlighted
Contributor II
Contributor II

Thanks Yko
I'll give it a try