Difference between revisions of "User getRoleIdByName"

From Catglobe Wiki
Jump to: navigation, search
Line 4: Line 4:
 
====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 12:
 
'''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 20:
 
'''Example'''
 
'''Example'''
  
''number id = User_getRoleIdByName("EDC - Agent");''
+
''number id = User_getRoleIdByName("Consultant");''
  
 
'''Availability'''
 
'''Availability'''

Revision as of 06:02, 22 December 2011



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