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 » [SOLVED]Query for Roles

Post new topic  Reply to topic
 [SOLVED]Query for Roles « View previous topic :: View next topic » 
Author Message
CHF
PostPosted: Fri Nov 05, 2004 11:50 am    Post subject: [SOLVED]Query for Roles Reply with quote

Master

Joined: 16 Dec 2003
Posts: 297

Hello All,
I am logging to Workflow as user "USER1". I am able to query for the names of roles of USER1.
USER1 is authorized for the Workitems of USER2.

1) Now, is it POSSIBLE to query for the names of roles of "USER2" logging in as USER1?

Thanks in Advance
_________________
CHF


Last edited by CHF on Mon Nov 08, 2004 7:45 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
jmac
PostPosted: Fri Nov 05, 2004 1:01 pm    Post subject: Reply with quote

Jedi Knight

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

CHF:

If User1 has Staff authorization, he could obtain User2's Person object using the ExecutionService.persistentPerson("USER2") method.

As I recall, you need to have access to that Persons work AND have Staff authorization, but you might want to check to see if you can get the Person object without the Staff Authorization first.

Bottom line, you can definitely get the information, but you might need to play a little bit with the authorizations.
_________________
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
CHF
PostPosted: Mon Nov 08, 2004 7:45 am    Post subject: Reply with quote

Master

Joined: 16 Dec 2003
Posts: 297

John:
Excellent. Its working. Thanks a lot for the help.
I have added "STAFF DEFINITION" for the USER1, and is working. And one more thing I observed was, USER1 do not need to have the Workitem authorization for USER2.

Thanks again.
_________________
CHF
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
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 » [SOLVED]Query for Roles
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.