Allowed (privilegeName)

Result Type: Number

Definition: Returns 1 (true) if the user privilege privilegeName is on for the currently logged in user, otherwise returns zero (false). PrivilegeName must have the identical spelling to that listed in the privilege list in Users and Security. Will always returns true on Express and Cashbook or if password protection is not turned on.

Examples:  Allowed(“Pay Invoices”)

returns 1 if the user can pay (creditor) invoices, otherwise 0.