RuleGetName()

Retrieve the name of a rule.

Token ID

AFTKN_RULE_GET_NAME or 941

Syntax

ANSISTRING RuleGetName(
     [ANSISTRING] UserID;
     WORD Index)

Parameters

UserID As ANSISTRING

(Optional) The user id of a proxy user.

Index As WORD

The 0-based index of the rule. This is a value from 0 to RuleGetCount().

Return Values

WORD. The number of rules defined for a user..