laptop and a wrench

Bug

'Update User' inconsistently updates the 'firstname,' 'lastname,' and 'fullname' properties.

Zuletzt veröffentlicht: July 1, 2019 Portal for ArcGIS
Bug-ID-Nummer BUG-000122857
EingereichtJune 5, 2019
Zuletzt geändertFebruary 20, 2025
Gilt fürPortal for ArcGIS
Gefunden in Version10.7
BetriebssystemWindows OS
BetriebssystemversionN/A
StatusIn Review

Workaround

Making an update to a name does not update the Full Name property. Instead, update the First Name and Last Name properties together, even if one or the other is not changing. This ensures that the First Name, Last Name, and Full Name are all correct,

 

For example, a user account has the following properties:

  • First Name: Harry
  • Last Name: Seldon
  • Full Name: Harry Seldon

 

To update the First Name to 'Hari' and properly update the Full Name to 'Hari Seldon,' supply the Last Name value when submitting the request:

  • ArcGIS API for Python: user.update(first_name="Hari", last_name="Seldon") produces the full name "Hari Seldon"
  • REST API: ensure the payload includes {"f":"json", "firstName":"Hari", "lastName":"Seldon"}

 

Schritte zur Reproduzierung

Bug-ID: BUG-000122857

Software:

  • Portal for ArcGIS

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln