RoleExists

From Catglobe Wiki
Revision as of 08:45, 14 December 2011 by Cg pham (talk | contribs)
Jump to: navigation, search



roleExists

Checks if a specific user role exists by its name.

Syntax

roleExists(roleName)

Arguments

roleName: a string expression. It is the qualified name of a role.

Return type

bool

Example

bool b = roleExists("FullUser");

//true

Availability

Version 5.4