I am trying to set the Family, Given, and Middle names for a
UserListItem that appears in a search popup in the legacy-ui (on the Manage Alerts page pictured below).
DWRUserService is using the
getAllUsers methods to return lists of
UserListItems that are used to populate the popup as seen in the network traffic in the image above.
UserListItem object does not have attributes for Family, Given, or Middle names, I am wondering how to set these values before it is sent to the UI. (Or, I am wondering how the application is able to get these values before they are given to the UI.)
I have done some digging and see where I might be able to get the information from a user using something like:
However, I am hoping to do HTML sanitization on these values, so I don’t know that it is a good idea to directly sanitize the values in the
PersonName object for this user rather than somehow sanitizing the values in the