laptop and a wrench

Error

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

Última publicación: July 1, 2019 Portal for ArcGIS
Número de ID del error BUG-000122857
EnviadoJune 5, 2019
Última modificaciónFebruary 20, 2025
Relacionado conPortal for ArcGIS
Versión encontrada10.7
Sistema operativoWindows OS
Versión de sistema operativoN/A
EstadoIn Review

Solución alternativa

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

 

Pasos para reproducir

ID del error: BUG-000122857

Software:

  • Portal for ArcGIS

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga