JMap.User.addInfo
Add a custom user info, stored in the redux store (JMap Server NG Core), and displayed in the user panel (JMap Server NG).
The user info
if info is not an object, if an attribute is missing or invalid type, if "id" already exists
// add a user informationJMap.User.addInfo({ id: "role", label: "Role", value: "Inspector"}) Copy
// add a user informationJMap.User.addInfo({ id: "role", label: "Role", value: "Inspector"})
JMap.User.addInfo
Add a custom user info, stored in the redux store (JMap Server NG Core), and displayed in the user panel (JMap Server NG).