# '"EnableUserCreation": false' disables user invites for all roles

**URL:** <https://forum.mattermost.com/t/enableusercreation-false-disables-user-invites-for-all-roles/3414>\
**Category:** Troubleshooting\
**Created:** [June 17, 2017, 5:35pm UTC](https://forum.mattermost.com/t/enableusercreation-false-disables-user-invites-for-all-roles/3414 "2017-06-17T17:35:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![boomboxnation](https://avatars.discourse-cdn.com/v4/letter/b/3ab097/32.png) [@boomboxnation](https://forum.mattermost.com/u/boomboxnation)\
**Post date:** [June 17, 2017, 5:35pm UTC](https://forum.mattermost.com/t/enableusercreation-false-disables-user-invites-for-all-roles/3414/1 "2017-06-17T17:35:35Z")

</div>

I tried setting RestrictTeamInvite to “system\_admin” as well. If EnableUserCreation is set to true then anyone can add new members. If set to false…no one at all can add members.

RestrictTeamInvite seems to have no effect at all.

-EDIT- With EnableUserCreation set to false the slash command /invite\_people -EMAIL\_ADDRESS- responds ‘Email Invite(s) sent’ but no email/invite is sent. Should respond ‘Not Allowed’ or some such thing.

---

<div class="post-metadata">

**Author:** ![boomboxnation](https://avatars.discourse-cdn.com/v4/letter/b/3ab097/32.png) [@boomboxnation](https://forum.mattermost.com/u/boomboxnation)\
**Post date:** [June 18, 2017, 8:14pm UTC](https://forum.mattermost.com/t/enableusercreation-false-disables-user-invites-for-all-roles/3414/3 "2017-06-18T20:14:38Z")

</div>

RTFM, but honestly…the manual is poorly formatted.:

Policy  
Available in Enterprise Edition E10 and higher

Settings to configure the permission restrictions for sending team invite links and managing channels.

I think this is an extremely poor decision of the maintainers.

---

<div class="post-metadata">

**Author:** ![lindy65](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/lindy65/32/1811_2.png) [@lindy65](https://forum.mattermost.com/u/lindy65)\
**Post date:** [June 20, 2017, 9:52am UTC](https://forum.mattermost.com/t/enableusercreation-false-disables-user-invites-for-all-roles/3414/4 "2017-06-20T09:52:35Z")

</div>

Hi @boomboxnation,

Thanks for your feedback,

I believe that when “EnableUserCreation” is set to “false”, it is expected behavior that even system admins are unable to create accounts on the server.

I have, however, created a [bug ticket](https://mattermost.atlassian.net/browse/PLT-6882) to fix the issue of the incorrect feedback from the “/invite\_people” slash command if “EnableUserCreation” is “false”.
