Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

GetRoleIdByName: Difference between revisions

From Catglobe Wiki
Cg_pham (talk | contribs)
No edit summary
No edit summary
Line 12: Line 12:
'''Arguments'''
'''Arguments'''


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


'''Return type'''
'''Return type'''
Line 20: Line 20:
'''Example'''
'''Example'''


number id = getRoleIdByName("FullUser");
''number id = getRoleIdByName("Consultant");''


//1
''//1''


'''Availability'''
'''Availability'''

Revision as of 02:59, 22 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 user resource template.

Return type

bool

Example

number id = getRoleIdByName("Consultant");

//1

Availability

Version 5.4