Hi,
how to access the username on windows,
the same as Systemproperty user.name in java ?
Regards, Gilbert
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.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs