Author |
Message
|
ucbus1 |
Posted: Fri Nov 07, 2003 2:41 pm Post subject: Getting Authorized user id list |
|
|
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 |
|
 |
jmac |
Posted: Fri Nov 07, 2003 2:52 pm Post subject: |
|
|
 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 |
|
 |
ucbus1 |
Posted: Fri Nov 07, 2003 4:10 pm Post subject: |
|
|
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 |
|
 |
jmac |
Posted: Fri Nov 07, 2003 5:08 pm Post subject: |
|
|
 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 |
|
 |
ucbus1 |
Posted: Mon Nov 10, 2003 6:46 am Post subject: |
|
|
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 |
|
 |
|