Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Everyone,
I cannot seem to find this, but what is the method by with I can add a user to a document on the QMC?
We have built our own front end of this, and want to be able to add/remove authorized users to a document, I cann't find the method call to do that. I am using SOAP, calling a QlikView server management version 11.
Thanks,
-Marek
Check the QV11 SDK.
Yes I check the SDK, and have used many function there, but it is not immediatly apprent to me which method to use to accomplish my goal in this case.
Thanks,
-Marek
Here's part of my code
Dim Document As DocumentNode = QMSClient.GetUserDocuments(QvsId).[Single](Function(x) x.RelativePath.Replace("\", "-").ToUpper() + "-" + x.Name.Replace(" ", "_").ToUpper() = sDocument)
Dim DocMetaData As DocumentMetaData = QMSClient.GetDocumentMetaData(Document, DocumentMetaDataScope.All)
Dim iLen As Integer = DocMetaData.Authorization.Access.Length
ReDim Preserve DocMetaData.Authorization.Access(iLen)
DocMetaData.Authorization.Access(iLen) = New DocumentAccessEntry
DocMetaData.Authorization.Access(iLen).UserName = username
Dim aux(0) As DayOfWeek
DocMetaData.Authorization.Access(iLen).DayOfWeekConstraints = aux
QMSClient.SaveDocumentMetaData(DocMetaData)
Good luck
Daniel hi,
For some reason is the .Authorization.Access.Length
is always empty.
We're having QV SBS 11 SR1 installed (No publisher). We're setting insteas the user access through document embedded Section Access\Section application.
Dror