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 Authorized user id list

Post new topic  Reply to topic
 Getting Authorized user id list « View previous topic :: View next topic » 
Author Message
ucbus1
PostPosted: Fri Nov 07, 2003 2:41 pm    Post subject: Getting Authorized user id list Reply with quote

Knight

Joined: 30 Jan 2002
Posts: 560

On the out of box client "under work list view" one can transfer work items to other users. When one clicks on transfer button a javascript prompt box comes up where in user can enter the id to transfer to. Here one needs to know the id to tranfer to.

Now, I am modifying ListViewer.jsp so that when I log on as "USER1" and want to transfer the workitem to say "XYZ", I get a pop-up box with list of IDs "USER1" is eligible giving ID, user name and other details.

but when I sign on as "ADMN" I am not getting any users in my pop-up box. I was under the impression that "ADMN" is like a super user to whom all the users are assigned.
Is itn't right?
Please let me know
Thanks
Back to top
View user's profile Send private message Send e-mail
jmac
PostPosted: Fri Nov 07, 2003 2:52 pm    Post subject: Reply with quote

Jedi Knight

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

Ucbus:

When a user is authorized to "ALL" users, you will not see the list of users in the dropdown... Its only when a user is authorized to specific users that this is populated by MQWF clients.
_________________
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
ucbus1
PostPosted: Fri Nov 07, 2003 4:10 pm    Post subject: Reply with quote

Knight

Joined: 30 Jan 2002
Posts: 560

Thanks JMAC,
is there any way I can know wheter or not the signed on user (in this case ) has access to "ALL" users and get the total list of IDs? I would like to know if there is any method that would get me all the Users.
Like mentioned, I was trying to modify "listViewer.jsp" that comes with out-of-box and not sure whether I could achieve with it
Back to top
View user's profile Send private message Send e-mail
jmac
PostPosted: Fri Nov 07, 2003 5:08 pm    Post subject: Reply with quote

Jedi Knight

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

You can tell from the Person object if a user is authorized to all users, there is a method for this.

There is no way to get the complete list of users via an API call.
_________________
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
ucbus1
PostPosted: Mon Nov 10, 2003 6:46 am    Post subject: Reply with quote

Knight

Joined: 30 Jan 2002
Posts: 560

Some how I am stuck here. I need to get the total list of users for "ADMIN" user. As JMAC rightly mentioned I can not use
Quote:
personsAuthorizedFor() : method as it returns Returns the persons for whom this person is authorized either explicitlyor by being a substitute. If the person is authorized for all other persons, then noperson is returned here.


My question now is has anybody ever tried to get the list of persons authorized for "ADMIN". If so how ? Since IBM does not provide API for this I would like to know how one can achive this?
Thanks
Back to top
View user's profile Send private message Send e-mail
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 Authorized user id list
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.