09-24-2014 12:44 PM
In the unity API, how do you retrieve the scanqueues that a user has access to? You can get a list of docTypes with the following:
List<string> docTypes = new List<string>(); DocumentTypeList dtList = app.Core.DocumentTypes; foreach (DocumentType docType in dtList) { docTypes.Add(docType.Name); }
and even through there is both a ScanQueue and a ScanQueueList class, it does not appear that you can construct the list in a similar fashion.
09-25-2014 12:18 PM
Douglas,
Thanks for your question! At this time there is no method or property to check a User's access to a scan queue. A ScanQueueList is created off of:
BatchManagement batchManagement = app.Core.BatchManagement;ScanQueueList scanQueueList = batchManagement.ScanQueues;foreach (ScanQueue scanQueue in scanQueueList){ //Do Work }
Once you have the ScanQueue Object, you have access to it's methods and properties, which at this time, does not have a way to check user access.
09-25-2014 01:11 PM
To clarify - the code posted above will only return the ScanQueues that the logged in user has access to. There is not currently a way via the API to check scan queue access permissions for users aside from the currently logged in user.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.