Changing username sent to license server

I would like to know if it is possible to change the username that is sent to license server?
Currently I use whitelist to allow some users to acquire IntelliJ license by checking their usernames.
As I'm using two OSes - Windows and Linux, under Linux I would like to use the same username as in Windows (instead of adding another username to the whitelist).

3 comments

Hi Marcin,

> if it is possible to change the username that is sent to license server

The way the "username" is formed is part of a protocol between client and server. This is fixed and cannot be changed.

Best regards,
  Eugene.

0

Update: I'm sorry I was not clear in my previous post. While the the way the user identification is formed cannot be changed, you can influence how user name looks like via standard JVM "user.name" property. JVM defines the property by default to be equal to user account name. You may specify the alternative value for this property in idea-home/bin/idea.exe.vmoptions file.

0

This is exactly what I was looking for :)
Adding "-Duser.name=myuser" to idea64.vmoptions did the trick.
Thank you for your help,
Marcin

0

Please sign in to leave a comment.