# Ik kan geen gebruiker toevoegen aan het Discourse-forum vanaf een WordPress-website wanneer de gebruiker is toegevoegd aan een lidmaatschap

**URL:** https://meta.discourse.org/t/i-cannot-add-user-to-the-discouse-forum-from-a-wordpress-website-when-user-added-in-a-membership/300025
**Category:** Development
**Created:** [19 maart 2024 om 16:54 UTC](https://meta.discourse.org/t/i-cannot-add-user-to-the-discouse-forum-from-a-wordpress-website-when-user-added-in-a-membership/300025 "2024-03-19T16:54:32Z")
**Posts on this page:** 1
**Showing post:** 18

<div class="post-metadata">

### Author: ![Haseeb\_Ahmed](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/haseeb_ahmed/32/372254_2.png) [@Haseeb\_Ahmed](https://meta.discourse.org/u/Haseeb_Ahmed)
#### Post date: [19 april 2024 om 14:13 UTC](https://meta.discourse.org/t/i-cannot-add-user-to-the-discouse-forum-from-a-wordpress-website-when-user-added-in-a-membership/300025/18 "2024-04-19T14:13:41Z")

</div>

Hi @simon can you please write a code example according to my code with your reference you have provided

> [@Add support for multi-select fields in DiscourseConnect protocol](https://meta.discourse.org/t/add-support-for-multi-select-fields-in-discourseconnect-protocol/219302):
>
> Continuing the discussion from [Custom field in discourseconnect](https://meta.discourse.org/t/custom-field-in-discourseconnect/219094/4): While site admins can create multiselect fields in Admin → Customize → User Fields in Discourse, at the moment it’s not possible to populate those fields with multiple values via a [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true) payload. The plan is to add support for array params in the SSO payload like: custom.user\_field\_1[]=valueA&custom.user\_field\_1[]=valueB This almost works but is garbled by this line: where the Array.to\_s means it gets persisted as …

---

_[View the full topic](https://meta.discourse.org/t/i-cannot-add-user-to-the-discouse-forum-from-a-wordpress-website-when-user-added-in-a-membership/300025)._
