laptop and a wrench

漏洞

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

上次发布: July 1, 2019 Portal for ArcGIS
漏洞 ID 编号 BUG-000122857
已提交June 5, 2019
上次修改时间February 20, 2025
适用范围Portal for ArcGIS
找到的版本10.7
操作系统Windows OS
操作系统版本N/A
状态In Review

解决办法

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

 

重现步骤

漏洞 ID: BUG-000122857

软件:

  • Portal for ArcGIS

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项