RuleGetPosition()

Retrieve the position of the rule within the execution order.

Token ID

AFTKN_RULE_GET_POSITION or 942

Syntax

WORD RuleGetPosition(
     [ANSISTRING] UserID;
     ANSISTRING RuleName)

Parameters

UserID As ANSISTRING

(Optional) The user id of a proxy user.

RuleName As ANSISTRING

The name of the rules as returned by RuleGetName().

Return Values

WORD. The 0-based index of the position of the rule in the execution order.