User getRoleIdByName

From Catglobe Wiki
Revision as of 10:56, 21 September 2023 by Administrator (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

[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