SetUserRoleId

From Catglobe Wiki
Revision as of 09:52, 7 March 2011 by 127.0.0.1 (talk | contribs) (jrfconvert import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



setUserRoleId

Sets the user resource template for the user specified.

Syntax

setUserRoleId(userId, roleId)

Arguments

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

roleId: is a number expression. It is the id of the user role.

Return type

bool

Example

setUserRoleId(1, 1);

Availability

Version 5.4