# UserManager additionalInfo

**URL:** <https://forum.servoy.com/t/usermanager-additionalinfo/19709>\
**Category:** Classic Servoy\
**Created:** [June 4, 2018, 12:19pm UTC](https://forum.servoy.com/t/usermanager-additionalinfo/19709 "2018-06-04T12:19:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![andre1506345542](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@andre1506345542](https://forum.servoy.com/u/andre1506345542)\
**Post date:** [June 4, 2018, 12:19pm UTC](https://forum.servoy.com/t/usermanager-additionalinfo/19709/1 "2018-06-04T12:19:32Z")

</div>

Hi

When I use the UserManager plugin and I assign an array to additionalInfo, and afterwards when I try to retrieve the information (in the same client or or other client) I get an an array object code (or how you call).

input array: [[clientId, 9D429C09-84A3-45F3-BB02-E6E2BA336B7C], [solution, cds\_batch], [start date, ma, 4 jun 2018 14:11:42]]

This is what I get  
[[Ljava.lang.Object;@503eb19b, [Ljava.lang.Object;@3266d898, [Ljava.lang.Object;@1d571ce0]

How do I get my original array back. Does this has something to do with HashMaps. And how does that work.

Thanks

---

<div class="post-metadata">

**Author:** ![mboegem](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/mboegem/32/4399_2.png) [@mboegem](https://forum.servoy.com/u/mboegem)\
**Post date:** [June 4, 2018, 3:17pm UTC](https://forum.servoy.com/t/usermanager-additionalinfo/19709/2 "2018-06-04T15:17:13Z")

</div>

Hi,

I’ve ran into a similar thing.  
I resolved it by creating an object and convert that to JSON, and vice versa when reading it.  
In order to set it:

```auto
var myInfo = {"clientId":"9D429C09-84A3-45F3-BB02-E6E2BA336B7C", "solution":"cds_batch", "start_date":new Date()};
plugins.UserManager.Client().additionalInfo = [JSON.stringify(myInfo)];

```

and read:

```auto
var myJSON = plugins.UserManager.Client().additionalInfo[0];
var myInfo = JSON.parse(myJSON);
var clientId = myInfo.clientId;

```

Hope that helps

---

<div class="post-metadata">

**Author:** ![andre1506345542](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@andre1506345542](https://forum.servoy.com/u/andre1506345542)\
**Post date:** [June 5, 2018, 8:10am UTC](https://forum.servoy.com/t/usermanager-additionalinfo/19709/3 "2018-06-05T08:10:17Z")

</div>

Thanks Marc,  
That works like a charm  
Andre
