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.

User getRoleIdByName: Difference between revisions

From Catglobe Wiki
Cg_pham (talk | contribs)
No edit summary
No edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:User_Functions]]
[[Category:User_Functions]]

[Obsolete - please use [[ResourceTemplate_class|ResourceTemplateHelper.GetTemplate(resourceTemplateName, ResourceType).ResourceId]] or [[User_getRoleResourceIdByName|User_getRoleResourceIdByName]]. More detail at [[ConversionMethods|ConversionMethods]] ]
 
====User_getRoleIdByName====
====User_getRoleIdByName====


Get the user template's resource id by its name
Get the user template resource 's id by its qualified name


'''Syntax'''
'''Syntax'''
Line 12: Line 11:
'''Arguments'''
'''Arguments'''


* ''userTemplateQualifiedName'': is a ''string ''expression. It is the qualified name of the resource template
* ''userTemplateQualifiedName'': is a ''string ''expression. It is the qualified name of the user resource template


'''Return value'''
'''Return value'''
Line 20: Line 19:
'''Example'''
'''Example'''


''number id = User_getRoleIdByName("EDC - Agent");''
''number id = User_getRoleIdByName("Consultant");''


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

Latest revision as of 09:56, 21 September 2023

[Obsolete - please use ResourceTemplateHelper.GetTemplate(resourceTemplateName, ResourceType).ResourceId or User_getRoleResourceIdByName. More detail at ConversionMethods ]

User_getRoleIdByName

Get the user template resource 's id by its qualified name

Syntax

User_getRoleIdByName(userTemplateQualifiedName)

Arguments

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

Return value

number

Example

number id = User_getRoleIdByName("Consultant");

Availability

Version 5.6