Skip to content
  • Articles
  • About API – my my

Articles on Apis

APIs by Example

Written by Carsten FlensburgFebruary 16, 2005August 31, 2017

Retrieving User Special Authorities — ALL OF THEM!

Carsten Flensburg strikes again! This issue highlights the latest of Carsten’s GREAT utilities. This one again deals with OS/400 special authorities, but from a bit of a different angle.

RTVUSRSPCA (Retrieve User Special Authorities) is a command that is similar to the IBM-supplied command RTVUSRPRF (Retrieve User Profile), but RTVUSRSPCA deals exclusively with special authorities.

The main problem that is addressed by the utility presented here is that IBM’s RTVUSRPRF command does not give a true picture of the special authorities inherent in a user profile. The special authorities held by a user can only be determined by extracting that information from the User profile, the primary group profile, and any associated supplementary group profiles. The combination of the special authorities found in these three sources actually determines the special authorities held by a user. The RTVUSRPRF command only tells you the special authorities held within the User Profile itself and does not consider the primary group or supplementary groups.

The RTVUSRSPCA command presented here lets you select the levels of special authorities you are interested in. You can retrieve only those authorities held in the User Profile (just like RTVUSRPRF), or you can retrieve special authorities only from the primary group, or those found in supplementary groups, or a combination of all three sources: User, Group, Supplementary groups.

Download the save file containing the source code.

Read the entire article

Advertisement

Share this:

  • Twitter
  • Facebook

Like this:

Like Loading...
Posted in Security, User profile.

Leave a Reply Cancel reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

You are commenting using your WordPress.com account. ( Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. ( Log Out /  Change )

Cancel

Connecting to %s

Archives

Category

API usage Application modernization Commands Cross reference Cryptographic services Database file Data queue Date and time Digital certificate manager Display file Document conversion DSM eBook Environment variables Exit points Hardware Help panel IFS Job Job accounting Job queue Job scheduler Job screen Journal LAN Locales Messages MI Module information NetServer Object Object authority Object locks Output queue PEX Printer Programs PTF Query Retrive journal entries RPG Save & restore Security SMTP Spooled files SQL Subsystem Systems management TCP/IP Tips Track exports Trigger UIM User profile User spaces Validation lists Watch definition Workload capping groups Work management XML ZIP

Blogroll

  • Scott Klement's site
  • Dan Riehl's site
  • Lillian BouttĂ©
  • Anette Harboe Flensburg
  • Eamon O'Kane

Post navigation

Previous Post APIs by Example: Analyze Activation Groups
Next Post APIs by Example: Monitor Batch Job Utility
Blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • Articles on Apis
    • Already have a WordPress.com account? Log in now.
    • Articles on Apis
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • View post in Reader
    • Manage subscriptions
    • Collapse this bar
%d bloggers like this: