laptop and a wrench

Bogue

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

Dernière publication: July 1, 2019 Portal for ArcGIS
Numéro d’ID de bogue BUG-000122857
EnvoiJune 5, 2019
Dernière modificationFebruary 20, 2025
S’applique àPortal for ArcGIS
Version trouvée10.7
Système d’exploitationWindows OS
Version du système d’exploitationN/A
StatutIn Review

Solution de contournement

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"}

 

Étapes pour reproduire

ID de bogue: BUG-000122857

Logiciel:

  • Portal for ArcGIS

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement