× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



This didn't work for me... returns with zero references. The docs state:


The QP0LROR() API is used to retrieve information about Integrated File
System references on an object.

A reference is an individual type of access or lock obtained on the object
when using Integrated File System interfaces. An object may have multiple
references concurrently held, provided that the reference types do not
conflict with one another.

Thanks for the idea. Anymore??

Kristen



-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Dan Kimmel
Sent: Friday, August 21, 2009 9:06 AM
To: Java Programming on and around the iSeries / AS400
Subject: RE: List the Auth Lists a User belongs to challenge...


I think you want to turn that around and look for references to the
*USRPRF object where the reference is an authorization list.

Retrieve Object References (QP0LROR) API provides this info natively.
I'm sure there must be a JTOPEN way to run it in java.

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Kristen Henry
Sent: Friday, August 21, 2009 9:41 AM
To: JAVA400-L@xxxxxxxxxxxx
Subject: List the Auth Lists a User belongs to challenge...

Hi,



I have a challenge that I have not yet come up with a solution for.



Using a UserId, I need to return a list of the Authorization Lists that
this user is in.



I don't find anything in JTOpen for this.



I can use an ObjectList to get the list of Auth Lists but how can I
query them to see if the user is in each list and get a response I can
capture?



Thanks!!



Kristen



Kristen Henry



--
This is the Java Programming on and around the iSeries / AS400
(JAVA400-L) mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/java400-l.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.