Difference between revisions of "RoleExists"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
 
[[Category:User_Functions]]
 
[[Category:User_Functions]]

+
{{HelpFiles}}
  
 
====roleExists====
 
====roleExists====

Revision as of 07:45, 14 December 2011



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