authzrule find
Finds and lists all protected objects that have the specified authorization rule attached.
Requires authentication (administrator ID and password) to use this command.
Syntax
authzrule find rule_id
Description
A user must have the browse
(b) and view (v) permissions
for the object to be listed when the pdadmin object show command
is issued. Otherwise, an error is returned:
The user is not authorized to view one or more protected objects where the
requested authzrule is attached.Options
rule_id- Specifies the name of the authorization rule to find. The authorization rule must exist, or an error is displayed.
Return codes
- 0
- The command completed successfully.
- 1
- The command failed. When a command fails, the pdadmin command
provides a description of the error and an error status code in hexadecimal
format (for example,
0x14c012f2). See "Error messages" in the IBM Knowledge Center. This reference provides a list of the Security Access Manager error messages by decimal or hexadecimal codes.
Example
The following example finds protected
objects that are attached to the
r2 rule: pdadmin sec_master> authzrule find r2
/Marketing/Folder1