Skip to content
  • Articles
  • About API – my my

Articles on Apis

APIs by Example

Written by Carsten FlensburgSeptember 2, 2009October 2, 2017

Update User Audit Values Using the UPDUSRAUD Command

If you have ever had the need to assign user audit values to a user profile you’ll know that the native command provided for such requirements – the Change User Auditing (CHGUSRAUD) command – lacks the ability to show the current audit values in effect for the user profile in question. The recommended approach to display a user profile’s current audit values is to run the Display User Profile (DSPUSRPRF) command and scroll to the last page of user profile information.

If you’re absolutely certain that the user profile whose audit values you’re about to change currently has no AUDLVL(audit level) values assigned, it is safe to simply run the CHGUSRAUD command for the user profile and specify the Object auditing value(OBJAUD) and User action auditing(AUDLVL) values of your choice. But if you have the slightest doubt about the current settings, you run the risk of overwriting these values without knowing, unless you run the DSPUSRPRF command first.

To speed up the process and at the same time make it a little safer and more convenient I wrote the Update User Audit (UPDUSRAUD) command.

Download the save file containing the source code.

Read the entire article

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: Listing and Working with Validation List Entries
Next Post APIs by Example: Journal APIs Solving Spooled Files Mysteries
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: