GetAnveoUser

Record GetAnveoUser();

Returns the record of ACF Anveo User table that is set to current Anveo user.

Please add library LIB_USER to your Anveo Script to get access to this function.

Example:
local AnveoUser = GetAnveoUser();
if (AnveoUser:GETVALUE('Relation Type') == 2) then
   MESSAGE('My relation code is Customer No. ' .. 
      AnveoUser:GETVALUE('Relation Code'));
end;

This example shows how to get the relation code of the current Anveo user.