ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Getting all the users in WF

Post new topic  Reply to topic
 Getting all the users in WF « View previous topic :: View next topic » 
Author Message
rog552003
PostPosted: Wed Mar 22, 2006 11:06 am    Post subject: Getting all the users in WF Reply with quote

Novice

Joined: 11 Dec 2005
Posts: 11

Greetings!!

One question, does anyone know a way of getting all the users that are loaded into Runtime using the API?

I would like to show a comboBox containing all the possible users of WF, in order to perform a "transfer" of the workitem.

Thank you very much!!!
Back to top
View user's profile Send private message
vennela
PostPosted: Wed Mar 22, 2006 11:11 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

What version are you using
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Ratan
PostPosted: Wed Mar 22, 2006 2:56 pm    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

If you want a list of users you can transfer the workitem to, you can do a
Person.PersonsAuthorizedFor(). This will return all the users the person is authorized for (can transfer workitems to).

See the API.
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
jmac
PostPosted: Wed Mar 22, 2006 5:02 pm    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

Ratan wrote:
If you want a list of users you can transfer the workitem to, you can do a
Person.PersonsAuthorizedFor(). This will return all the users the person is authorized for (can transfer workitems to).


Ratan: The Bummer about this is that if the user is authorized to ALL users, this returns an empty list.

My guess is that Venny will recommend using the StaffAPI if rog552003 is on V3.6...

If not on V3.6 there is no easy way to get the list of all users known to MQWF.
_________________
John McDonald
RETIRED
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
vennela
PostPosted: Wed Mar 22, 2006 10:49 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

jmac wrote:

My guess is that Venny will recommend using the StaffAPI if rog552003 is on V3.6...

Well, I thought if he posted the version somebody would give him a better answer. I haven't worked with newer versions of the product (above 3.4) and especially, development side of it.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
JKehoe
PostPosted: Thu Apr 06, 2006 8:21 am    Post subject: Reply with quote

Novice

Joined: 10 Aug 2005
Posts: 20

I'm on v3.4 and I had to solve the same problem as you. I ended up querying the PERSON table in the runtime db for a list of unique names.

I know it's probably not the preferred way of getting the names, but it's the only thing that worked for me. Also, I've had it in production now for over a year and I've never had a problem with it.

good luck,
josh
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » Getting all the users in WF
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.