Book a Demo

Author Topic: The Issue of Username vs Author  (Read 4432 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
The Issue of Username vs Author
« on: July 13, 2015, 02:59:38 pm »
In my current engagement, the Windows user name is essentially numeric.  There is NO relationship between the Username and the Author's personal name.  For example, my Author name should be: Paolo Cantoni, but my user name is: 1234567X

In addition, if the repository is used across multiple machines (in different domains), by the same person (Author). They can create items under a number of usernames.

In the past (up to v9) I used a background query to reset all the Authors to a defined set of values appropriate to the situation:
For example, replace: 1234567X with Paolo Cantoni, replace Paolo with Paolo Cantoni, replace pcantoni with Paolo Cantoni etc.

That way the User/Author naming was consistent, regardless of source.

However, additional facilities in EA since v9 have made this technique problematic.

Is there a standard resolution to this problem?  Shouldn't EA maintain two separated but related concepts (User Name and Author Name).

TIA,
Paolo

« Last Edit: July 13, 2015, 03:00:55 pm by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: The Issue of Username vs Author
« Reply #1 on: July 13, 2015, 04:03:39 pm »
Quote
Shouldn't EA maintain two separated but related concepts (User Name and Author Name).
Pretty sure it always has.

If user security isn't enabled: <Tools | Option | General | Author> defaults to the windows user name. But it's a registry setting that can be set.

If user security is enabled: <Tools | Option | General | Author> ignores the registry setting and uses <firstname> <surname>. Importing users and 'accept windows authentication' is the easiest way to ensure the author is set reasonably in my experience.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: The Issue of Username vs Author
« Reply #2 on: July 14, 2015, 12:32:24 pm »
Quote
Quote
Shouldn't EA maintain two separated but related concepts (User Name and Author Name).
Pretty sure it always has.

If user security isn't enabled: <Tools | Option | General | Author> defaults to the windows user name. But it's a registry setting that can be set.

If user security is enabled: <Tools | Option | General | Author> ignores the registry setting and uses <firstname> <surname>. Importing users and 'accept windows authentication' is the easiest way to ensure the author is set reasonably in my experience.
Ahh... probably didn't realise it was a setup only default.

So Simon, just to be clear - (without User Security) if I move the eap file between machines where I have different user names, but set the author name in the Tools | Options | General | Author setting to Paolo Cantoni on each machine, it will all store as author: Paolo Cantoni.

With User Security enabled, it should pick up the values from the User in Windows.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: The Issue of Username vs Author
« Reply #3 on: July 14, 2015, 02:11:02 pm »
That's pretty much it. Although it only picks up the name from windows at the time of import.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: The Issue of Username vs Author
« Reply #4 on: July 14, 2015, 03:36:53 pm »
Quote
That's pretty much it. Although it only picks up the name from windows at the time of import.
That's reasonable.  Can you re-import if you know the name has changed?  Or can you only change the values directly in EA?

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: The Issue of Username vs Author
« Reply #5 on: July 15, 2015, 08:41:19 am »
Not sure if an import will update the existing user or not.