GetUserRoleId

From Catglobe Wiki
Revision as of 07:44, 14 December 2011 by Cg pham (talk | contribs)
Jump to: navigation, search



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