Difference between revisions of "GetRoleIdByName"

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

+
{{HelpFiles}}
  
 
====getRoleIdByName====
 
====getRoleIdByName====

Revision as of 07:42, 14 December 2011



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