RuleGetCount()

Returns the number of rules that a user has defined.

Token ID

AFTKN_RULE_GET_COUNT or 940

Syntax

WORD RuleGetCount([ANSISTRING] UserID) 

Parameters

UserID As ANSISTRING

(Optional) The user id of a proxy user. If not specified then the count of the user’s rules are returned. Otherwise, the count of the proxy user’s rules are returned.

Return Values

WORD. The number of rules defined for a user.