I need to know is there a file I can access on the AS/400 containing a list
of user profiles.
Thanks in advance
Caroline
So how's the weather in Dublin?
Caroline wrote in message <6qrpo8$ja1$1...@news.indigo.ie>...
Regards,
Rob
Caroline <co...@compex.ie> wrote in article
May be, if speed is an issue for you, you should consider using an object
list API (don't remember its name)
HTH
JeanMichel
EXPERIA Europe
jmpe...@experia.com
____________________________________
Caroline a écrit dans le message <6qrpo8$ja1$1...@news.indigo.ie>...
Take a look at the QUSLOBJ API to list objects of type *USRPRF. I don't
think there's a specific API to list userprofiles. Using outfiles is not
considered as a good method since the file might change in future releases,
neither is the performance good.
Kind regards,
Paul
__________________
Caroline <co...@compex.ie> wrote in article
<6qrpo8$ja1$1...@news.indigo.ie>...
> Anybody any ideas on.......
>
> I need to know is there a file I can access on the AS/400 containing a
list
> of user profiles.
>
>
>
> Thanks in advance
> Caroline
>
>
>
The contents of this message express only the sender's opinion.
This message does not necessarily reflect the policy or views of
my employer, Merck & Co., Inc. All responsibility for the statements
made in this Usenet posting resides solely and completely with the
sender.
The Retrieve Authorized Users (QSYRAUTU) API was added to OS/400 in V3R7. It
can be used to retrieve all the authorized users on the system (too which you
are authorized).
The Open List of Authorized Users (QGYOLAUS) API was added to the Host Servers
option of OS/400 in V4R1 (PTFed to V3R7 as I recall). This API, installed into
library QGY instead of QSYS, wraps QSYRAUTU to provide a buffered list
interface. QGYOLAUS is the API used by Operations Navigator to enumerate the
users and groups on a system.
The following links are for QSYRAUTU and QGYOLAUS, respectively:
http://AS400BKS.rochester.ibm.com:80/cgi-bin/bookmgr/bookmgr.cmd/BOOKS/QB3AMX01/1.17
http://AS400BKS.rochester.ibm.com:80/cgi-bin/bookmgr/bookmgr.cmd/BOOKS/QB3AMX01/1.15
Paul Allen
Operations Navigator Development
IBM Rochester
DSPAUTUSR is worth a look if you were not aware of it.
Regards, Chuck
-- Comments provided "as is" with no warranties of any kind whatsoever.
I don't think there is any such file. But it is easy to create such a
list. Use the DSPOBJD command, select *USRPRF and direct output to an
outfile.
Patrick
Caroline wrote:
>
> Anybody any ideas on.......
>
> I need to know is there a file I can access on the AS/400 containing a list
> of user profiles.
>
> Thanks in advance
> Caroline
--
Patrick Townsend mailto:town...@patownsend.com
Patrick Townsend & Associates, Inc. http://www.patownsend.com
User profiles aren't exactly recorded in files in any useful sense unless you
deliberately run some kind of auditing tool to create the file. One tool
standard on AS/400s is the RTVDSKINF command which builds a large file
describing objects on the system. If you're already running the command for
other reasons, you can query the QAEZDISK file that results from it; but it's
sure much easier to DSPUSRPRF OUTPUT(*OUTFILE), and it'll be accurate up to
date.
Tom Liotta
In article <6qrpo8$ja1$1...@news.indigo.ie>,
"Caroline" <co...@compex.ie> wrote:
> Anybody any ideas on.......
>
> I need to know is there a file I can access on the AS/400 containing a list
> of user profiles.
>
> Thanks in advance
> Caroline
>
>
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum