authzrule show

Shows all the attributes of an authorization rule, including description, rule text, and fail reason code.

Requires authentication (administrator ID and password) to use.

authzrule show rule_id

Options

Return codes

Example

The following example shows attributes for a rule named r2:
pdadmin sec_master> authzrule show r2

The output is like:

Authorization Rule Name: r2
Description: time-of-day access
Rule Text: <xsl:if test="/XMLADI/session[contains(status,'login')]">
<xsl:for-each select="/XMLADI/userid/level">
<xsl:if test=". = 'administrator'">
<xsl:choose>
<xsl:when test="../paid = 'in-full'">
!TRUE!
</xsl:when>
<xsl:when test="../paid = 'partial'">
!FALSE!
</xsl:when>
<xsl:when test="../paid = 'introductory'">
!TRUE!
</xsl:when>
<xsl:otherwise>
!FALSE!
</xsl:otherwise>
</xsl:choose>
</xsl:if>
</xsl:for-each>
</xsl:if>
Fail Reason:Error when creating R2

See also

authzrule find
authzrule list

Parent topic: pdadmin commands