Getting a user rights group name by his numeric ID.
function mGetRoleNameByID(iRoleID: integer): string;
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.
Rights group name. If rights group ID does not exist, the function returns an empty string.