Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
apurvkolte
Contributor II
Contributor II

Access document Authorization through QMS API

I am trying to read the document authorization set in QMC, we currently have set the document authorization set to User Type => All Authenticated Users. From QMS API, I get the DocumentMetaData but the Authorization or Authorization.Access doesn't has this information. How to read and update this setting from QMS API. Below is some code snippet that I use.

 

ServiceInfo[] MyQVS = Client.GetServices(ServiceTypes.QlikViewServer);

DocumentNode[] allDocs = Client.GetUserDocuments(MyQVS[0].ID);

..

DocumentMetaData Meta = Client.GetDocumentMetaData(doc, DocumentMetaDataScope.All);

DocumentAccessEntry[] accessList = Meta.Authorization.Access;
1 Solution

Accepted Solutions
NadiaB
Support
Support

Hi @apurvkolte 

The information should be in the distribution task, this example shows the configuration for a Manual Distribution:

DistributionTask.PNG

Hope it helps!

Don't forget to mark as "Solution Accepted" the comment that resolves the question/issue. #ngm

View solution in original post

2 Replies
Maria_Halley
Support
Support

@apurvkolte 

Since this question is about APIs I will move it to the integration board

NadiaB
Support
Support

Hi @apurvkolte 

The information should be in the distribution task, this example shows the configuration for a Manual Distribution:

DistributionTask.PNG

Hope it helps!

Don't forget to mark as "Solution Accepted" the comment that resolves the question/issue. #ngm