Difference between revisions of "User getRoleIdByName"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
 
[[Category:User_Functions]]
 
[[Category:User_Functions]]
[Obsolete - please use [[ResourceTemplate_class|ResourceTemplateHelper.GetTemplate(resourceTemplateName, ResourceType).ResourceId]]]
+
[Obsolete - please use [[ResourceTemplate_class|ResourceTemplateHelper.GetTemplate(resourceTemplateName, ResourceType).ResourceId]]. More detail at [[ConversionMethods|ConversionMethods]] ]
 
====User_getRoleIdByName====
 
====User_getRoleIdByName====
  

Revision as of 03:37, 13 May 2022

[Obsolete - please use ResourceTemplateHelper.GetTemplate(resourceTemplateName, ResourceType).ResourceId. 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