User getRoleIdByName

From Catglobe Wiki
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