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.

[Obsolete - please use GetResourceTemplateResourceId or User.ResourceTemplateResourceId. More detail at ConversionMethods ]

getUserRoleId

Gets the user resource template for the user specified.

Syntax

getUserRoleId(userId)

Arguments

userId: is a number expression. It is the id of the user.

Return type

number

Examples

number roleId = getUserRoleId(1);

//1

Availability

Version 4.8