Difference between revisions of "GetRoleIdByName"
Cg huyphong (talk | contribs) |
|||
Line 1: | Line 1: | ||
− | [[ | + | [Obsolete - please use [[ResourceTemplate_class|ResourceTemplateHelper.GetTemplate(resourceTemplateName, ResourceType).ResourceId]]. More detail at [[ConversionMethods|ConversionMethods]] ] |
− | |||
− | |||
====getRoleIdByName==== | ====getRoleIdByName==== | ||
Line 27: | Line 25: | ||
Version 5.4 | Version 5.4 | ||
− | + | [[Category:User_Functions]] | |
− |
Revision as of 10:19, 21 September 2023
[Obsolete - please use ResourceTemplateHelper.GetTemplate(resourceTemplateName, ResourceType).ResourceId. More detail at ConversionMethods ]
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