Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
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:
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.
The environment information report will contain the following information:
The password information report will contain the following information:
The password level information report will contain the following information that can be used to determine if the system is ready to change password levels.
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.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
TYPE | Type of information | *ALL, *AUTINFO, *ENVINFO, *PWDINFO, *PWDLVL | Optional |
SELECT | Select by | *SPCAUT, *USRCLS, *MISMATCH | Optional |
SPCAUT | Special authorities | Single values: *ALL Other values (up to 9 repetitions): *ALLOBJ, *AUDIT, *JOBCTL, *IOSYSCFG, *SAVSYS, *SECADM, *SERVICE, *SPLCTL, *NONE |
Optional |
USRCLS | User class | Single values: *ALL Other values (up to 5 repetitions): *USER, *SYSOPR, *PGMR, *SECADM, *SECOFR |
Optional |
Top |
The type of information that can be printed for the selected user profiles.
Top |
Specifies what criteria is used to select the user profiles to include in the report.
Note: The defaulted special authorities for user classes changed in V3R7. Therefore, when running this report for profiles created prior to V3R7, you may notice a larger than expected number of profiles that do not match the default values.
Top |
If *SPCAUT was specified for the Select by (SELECT) parameter, it specifies which special authorities should be used to select users. User profiles with any of the special authorities specified for this parameter will be included in the report. A maximum of 9 special authorities can be specified.
You can enter multiple values for this parameter.
Or select one or more of the following values (9 maximum):
Top |
If *USRCLS was specified for the Select by (SELECT) parameter, it specifies that user classes should be used to select users. User profiles with a user class that is specified for this parameter will be included in the report. A maximum of 5 user classes can be specified.
You can enter multiple values for this parameter.
Or select one or more of the following values (5 maximum):
Top |
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.
Top |
*ESCAPE Messages
Top |