RoleExists

From Catglobe Wiki
Revision as of 04:31, 22 December 2011 by Cg huyphong (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



roleExists

Checks if a specific user resource template exists by its name.

Syntax

roleExists(roleName)

Arguments

roleName: a string value. It is the qualified name of a user resource template.

Return type

bool

Example

bool b = roleExists("Consultant");

//true

Availability

Version 5.4