CL Command Reference - PRTUSRPRF

CL Command List > PRTUSRPRF Reference

Description:

The Print User Profile (PRTUSRPRF) command allows you to print a report containing information for the user profiles on the system. Four different reports can be printed. One contains authority type information, one contains environment type information, one contains password type information, and one contains password level type information.

The authority information report will contain the following information:
. The type of report.
. The criteria used to select user profiles in the report.
. The special authorities being selected on (if *Select by* is *SPCAUT).
. The user classes being selected on (if *Select by* is *USRCLS).
. An entry for each user profile that was selected. Each entry contains the following information:
An entry for each user profile that was selected. Each entry contains the following information:
每 The name of the user profile.
每 The names of the user*s group profiles. If the user profile does not have any group profiles, this field will contain **NONE*. If the user has group profiles, an additional entry will follow the user profile entry for each of the user*s groups. The entry will contain the group profile name and the special authorities that the group profile has.
每 An indicator for the special authorities that the user profile has (*X* or * *).
每 The user class for the user profile. 每 Whether the user profile or its group profile own objects created by this user profile.
每 What authority is given to the user*s group profile for newly created objects (if the owner value is *USRPRF).
每 The limited capability value for the user profile.

The environment information report will contain the following information:
. The type of report. v The criteria used to select user profiles in the report.
. The special authorities being selected on (if *Select by* is *SPCAUT).
. The user classes being selected on (if *Select by* is *USRCLS).
. An entry for each user profile that was selected. Each entry contains the following information:
每 The name of the user profile.
每 The name of the user*s current library.
每 The name of the user*s initial menu, and the library it is in.
每 The name of the user*s initial program, and the library it is in.
每 The name of the user*s job description, and the library it is in.
每 The name of the user*s message queue, and the library it is in.
每 The name of the user*s attention program, and the library it is in.

The password information report will contain the following information:
. The type of report.
. The criteria used to select user profiles in the report.
. The special authorities being selected on (if *Select by* is *SPCAUT).
. The user classes being selected on (if *Select by* is *USRCLS).
. The value of the QPWDEXPITV system value (for reference if the user*s password expiration interval is *SYSVAL).
. An entry for each user profile that was selected. Each entry contains the following information:
每 The name of the user profile.
每 The *password present for level 0 or 1* indicator (**YES* if the user has a password, **NO* if the user does not have a password, or **UNKNOWN* if the password information was not available).
每 The *password present for level 2 or 3* indicator (**YES*, **NO*, or **UNKNOWN*).
每 The *password present for NetServer* indicator for Windows 95 and 98 NetServer passwords (**YES*, **NO*, or **UNKNOWN*).

Note: The Display Security Attributes (DSPSECA) command can be used to display the current and pending password level for the system. The password level can be changed by changing the QPWDLVL system value.

Restriction: You must have all object (*ALLOBJ) or audit (*AUDIT) special authority to run this command.


Examples:

PRTUSRPRF TYPE(*ALL) SELECT(*SPCAUT) SPCAUT(*ALLOBJ *SECADM)

This command prints all four reports for user profiles that have either *ALLOBJ or *SECADM special authority.