WHUserApi::GetUserRoles (open)

Get the roles of a user

Syntax

LOADLIB "mod::wrd/lib/internal/userapi.whlib";

INTEGER ARRAY FUNCTION GetUserRoles(INTEGER user)

Parameters

INTEGER user

Entity id of the user

Return value

INTEGER ARRAY

Entity ids of the roles