Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

File holding list of user profiles for the AS/400

2,950 views
Skip to first unread message

Caroline

unread,
Aug 12, 1998, 3:00:00 AM8/12/98
to
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

Paul

unread,
Aug 12, 1998, 3:00:00 AM8/12/98
to
You could try DSPUSRPRF *ALL OUTPUT(*OUTFILE)...

So how's the weather in Dublin?


Caroline wrote in message <6qrpo8$ja1$1...@news.indigo.ie>...

Rob Kamphuis

unread,
Aug 12, 1998, 3:00:00 AM8/12/98
to
Hi Caroline,
I don't know... But you can always create this file using DSPUSRPRF
USRPRF(*ALL) OUTPUT(*OUTFILE)
Afterwards you can use Query to include or exclude fields.

Regards,
Rob

Caroline <co...@compex.ie> wrote in article

Nadege

unread,
Aug 12, 1998, 3:00:00 AM8/12/98
to
Unfortunatly I'm afraid there is'nt.
But you can build one with either :
DSPUSRPRF USRPRF(*ALL) OUTPUT(*OUTFILE) OUTFILE(libname/profiles)
or (wich sould be faster)
DSPOBJD OBJ(QSYS/*ALL) OBJTYPE(*USRPRF) OUTPUT(*OUTFILE)
OUTFILE(libname/profiles)

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>...

Paul Nicolay

unread,
Aug 12, 1998, 3:00:00 AM8/12/98
to
Hi Caroline,

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.

Paul Allen

unread,
Aug 12, 1998, 3:00:00 AM8/12/98
to
There are no files with what you want; but there are related APIs.

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


Charles R. Pence

unread,
Aug 12, 1998, 3:00:00 AM8/12/98
to
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.

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.

Patrick Townsend

unread,
Aug 12, 1998, 3:00:00 AM8/12/98
to Caroline
Caroline,

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

tho...@inorbit.com

unread,
Aug 13, 1998, 3:00:00 AM8/13/98
to
Caroline:

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

0 new messages