GetRoleIdByName

From Catglobe Wiki
Revision as of 04:59, 22 December 2011 by Cg huyphong (talk | contribs)
Jump to: navigation, search



getRoleIdByName

Gets the id of the user resource template with the qualified name specified as input.

Syntax

getRoleIdByName(roleName)

Arguments

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

Return type

bool

Example

number id = getRoleIdByName("Consultant");

//1

Availability

Version 5.4