WHUserApi::SetRoleMembers (open)

Set the members of a role, removing all unmentioned members

Syntax

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

MACRO SetRoleMembers(INTEGER role, INTEGER ARRAY memberlist, INTEGER grantedby)

Parameters

INTEGER role

Entity id of the role

INTEGER ARRAY memberlist

Entity id of members

INTEGER grantedby

Entity id of the user setting the member list