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).

0
Avatar
Permanently deleted user

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
Avatar
Permanently deleted user

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
Avatar
Permanently deleted user

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

The file may be located in a different folder. In order to find the correct file, use the GUI option Help → Edit Custom VM Options…

0

请先登录再写评论。