WHUserApi::UpdateUser (open)

Updates the data of a user

Syntax

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

MACRO UpdateUser(INTEGER id, RECORD data)

Parameters

INTEGER id

User id

RECORD data

User data updates

whuser_unit

Id of the unit to move the user to