Getting a user rights group name by his numeric ID.

 

Syntax

function mGetRoleNameByID(iRoleID: integer): string;

 

Parameters and return values

Parameter

Type

Value

iRoleID

integer

rights group ID.

 

Notice!

MyChat has two role names, which cannot be deleted or renamed. These are "Guests" and "WEB guests". New registered users are added to the first group, all those who come to MyChat from the website (WEB support chat) are added to the second group.
 

Function result

Rights group name. If rights group ID does not exist, the function returns an empty string.