Get username on windows

Hi,

how to access the username on windows,
the same as Systemproperty user.name in java ?

Regards, Gilbert

Rebhan, Gilbert wrote:

Hi,

how to access the username on windows,
the same as Systemproperty user.name in java ?

Regards, Gilbert

ENV[‘USERNAME’] works for me.