Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

User getRoleResourceIdByName

From Catglobe Wiki

User_getRoleResourceIdByName

Get the user template resource id by its name

Syntax

User_getRoleResourceIdByName(resourceTemplateName)

Arguments

string resourceTemplateName

Return value

number

Example

string resourceTemplateName = "Consultant";

User_getRoleResourceIdByName(resourceTemplateName);//1842