Object auditing
The object auditing value for a user profile works with the object auditing value for an object to determine whether the user’s access of an object is audited.
- Add User prompt:
- Not shown
- CL parameter:
- OBJAUD
- Length:
- 10
Object auditing for a user profile cannot be specified on any user profile commands. Use the CHGUSRAUD command to specify object auditing for a user. Only a user with *AUDIT special authority can use the CHGUSRAUD command.
*NONE | The OBJAUD value for objects determines whether object auditing is done for this user. |
*ALL | If the OBJAUD value for an object specifies *USRPRF, an audit record is written when this user changes or reads the object. |
*CHANGE | If the OBJAUD value for an object specifies *USRPRF, an audit record is written when this user changes the object. |
*NOTAVL | This value is displayed to indicate that the parameter value is not available to the user because the user does not have either *AUDIT or *ALLOBJ special authority. The parameter value cannot be set to this value. |
Table 2 shows how the OBJAUD values for the user and the object work together:
OBJAUD value for object | OBJAUD value for user | ||
---|---|---|---|
*NONE | *CHANGE | *ALL | |
*ALL | Change and Use | Change and Use | Change and Use |
*CHANGE | Change | Change | Change |
*NONE | None | None | None |
*USRPRF | None | Change | Change and Use |