On 20/12/2006, at 6:32 AM, James H H Lampert wrote:

I looked at getpwuid myself. According to the V4R2 and
V4R4 Softcopy manuals,
READ authority is required to the user profile associated
with the uid.

But in the V5 Disinformation Center, it says

*READ authority is required to the user profile associated
with the UID. If the user does not have *READ authority,
only the user name, user ID, and group ID values are
returned. Note: Adopted authority is not used.

Does anybody know if the latter behavior was always that
way, or if it was new in V5?

It appears the documentation was corrected in VRM450 but the API has always worked the way it is currently described. I did a quick test against a VRM440 system I have here and it worked fine to retrieve the name of a UID to which *PUBLIC has *EXCLUDE authority and the profile under which I ran the test had no specific authority to the UID profile.

Regards,
Simon Coulter.
--------------------------------------------------------------------
   FlyByNight Software         AS/400 Technical Specialists

   http://www.flybynight.com.au/
   Phone: +61 3 9419 0175   Mobile: +61 0411 091 400        /"\
   Fax:   +61 3 9419 0175                                   \ /
                                                             X
                 ASCII Ribbon campaign against HTML E-Mail  / \
--------------------------------------------------------------------



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.