GetRoleIdByName

From Catglobe Wiki
Revision as of 10:01, 7 March 2011 by 127.0.0.1 (talk | contribs) (jrfconvert import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 role.

Return type

bool

Example

number id = getRoleIdByName("FullUser");

//1

Availability

Version 5.4