Difference between revisions of "SetUserRoleId"
Line 1: | Line 1: | ||
[[Category:User_Functions]] | [[Category:User_Functions]] | ||
− | | + | {{HelpFiles}} |
====setUserRoleId==== | ====setUserRoleId==== |
Revision as of 07:51, 14 December 2011
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