Difference between revisions of "GetUserRoleId"
Line 1: | Line 1: | ||
[[Category:User_Functions]] | [[Category:User_Functions]] | ||
− | [Obsolete - please use [[GetResourceTemplateResourceId|GetResourceTemplateResourceId]] or [[User_class|User.ResourceTemplateResourceId]]] | + | [Obsolete - please use [[GetResourceTemplateResourceId|GetResourceTemplateResourceId]] or [[User_class|User.ResourceTemplateResourceId]]. More detail at [[ConversionMethods|ConversionMethods]] ] |
====getUserRoleId==== | ====getUserRoleId==== |
Latest revision as of 03:31, 13 May 2022
[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