Skip to main content
I am attempting to obtain a list of Destination Queue Names in order to populate a control on a form. I have tried the following:

K2Manager oManager = new K2Manager();
oManager.Login("Server Name", 5252);

DestQueues oK2DestQueues = oManager.GetDestQueues();

for (int i = 0; i < oK2DestQueues.Count; i++)
{
string name = oK2DestQueues.Name;
}

Whilst this does return the list of queue names it also requires that the user viewing the form is an Administrator user.

Does anyone know of an alternative method to get this list?
The only other way to obtain a list of Destination queues is to use the K2Studio object models and query the design-time files for the defined destination queues. Obviously, discrepancies between design-time and run-time destination queues can/may occur.

Regards,
Ockert

Reply