Answers.Body: <p>In wordpress it's the <code>create_users</code> permission:</p>
  <ul>
  <li><a href="https://github.com/civicrm/civicrm-core/blob/79ac44cf780f867e37ed2c11cc7e9855ec6df5e0/CRM/Utils/System/WordPress.php#L1178" rel="nofollow noreferrer">https://github.com/civicrm/civicrm-core/blob/79ac44cf780f867e37ed2c11cc7e9855ec6df5e0/CRM/Utils/System/WordPress.php#L1178</a></li>
  <li><a href="https://github.com/civicrm/civicrm-core/blob/79ac44cf780f867e37ed2c11cc7e9855ec6df5e0/CRM/Contact/BAO/Contact.php#L3048" rel="nofollow noreferrer">https://github.com/civicrm/civicrm-core/blob/79ac44cf780f867e37ed2c11cc7e9855ec6df5e0/CRM/Contact/BAO/Contact.php#L3048</a></li>
  </ul>
  <p>And as noted in the comments by @mplh you can use a plugin like <a href="https://wordpress.org/plugins/user-role-editor/" rel="nofollow noreferrer">user role editor</a> to set the permissions granted to roles.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-01-18T15:17:05.830Z
Answers.Text: Thanks for your answer, and showing a way how to trouble shoot such questions by looking at the code! I have one more practical question for users that may not be able to change the code: Can I grant the "create_users" permission to a specific wordpress role in the "WordPress Access Control" or some other admin panel? If not, how could I go about adding that possibility to the "WordPress Access Control"?
Answers.UserDisplayName: mplh
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-01-18T15:25:51.403Z
Answers.Text: I found a solution myself: the `create_users` permission is a Wordpress permission. It can be set for a Wordpress Role in Wordpress itself, e.g. by using a plugin like [user-role-editor](https://wordpress.org/plugins/user-role-editor/) @Demerit: maybe you can add this clarification in your answer
Answers.UserDisplayName: mplh
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2023-01-18T14:21:23.380Z
Answers.LastActivityDate: 2023-01-18T15:51:16.163Z
Answers.LastEditDate: 2023-01-18T15:51:16.163Z
Answers.UserDisplayName: Demerit
Body: <p>What CiviCRM permissions do I need to grant in order to allow &quot;create user record&quot; for a CiviCRM contact?</p>
  <p>I want to allow for a user with a certain role (&quot;Organizer&quot;) to create a CMS(wordpress) user for a certain CiviCRM contact -- contacts the user is in a certain relation with. I would like to not only allow editing the contact for that user, but also allow for &quot;create user record&quot;</p>
  <p><a href="https://i.sstatic.net/7WTmG.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/7WTmG.png" alt="enter image description here" /></a></p>
  <p>Is it possible to grant that permission at this granularity? Or does the &quot;Organizer&quot; have to get Admin privileges?
  Is there another way to allow the &quot;Organizer&quot; to effect, that the contact can get a WP account? (e.g. by providing a registration link that is tied to the contacts email adress or something of the like?)</p>
  
Tags: <wordpress><contacts><permissions><user>
Title: What CiviCRM permissions do I need to grant in order to allow "create user record" for a CiviCRM contact
ThreadText: # What CiviCRM permissions do I need to grant in order to allow "create user record" for a CiviCRM contact
  
  (Asked by: username_0 on 2023-01-18)
  
  What CiviCRM permissions do I need to grant in order to allow "create user record" for a CiviCRM contact?
  
  I want to allow for a user with a certain role ("Organizer") to create a CMS(wordpress) user for a certain CiviCRM contact -- contacts the user is in a certain relation with. I would like to not only allow editing the contact for that user, but also allow for "create user record"
  
  [![enter image description here](https://i.sstatic.net/7WTmG.png)](https://i.sstatic.net/7WTmG.png)
  
  Is it possible to grant that permission at this granularity? Or does the "Organizer" have to get Admin privileges?
  Is there another way to allow the "Organizer" to effect, that the contact can get a WP account? (e.g. by providing a registration link that is tied to the contacts email adress or something of the like?)
  
  **Tags:** wordpress, contacts, permissions, user
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2023-01-18. Score: 2 | Accepted answer
  
  In wordpress it's the `create_users` permission:
  
  * <https://github.com/civicrm/civicrm-core/blob/79ac44cf780f867e37ed2c11cc7e9855ec6df5e0/CRM/Utils/System/WordPress.php#L1178>
  * <https://github.com/civicrm/civicrm-core/blob/79ac44cf780f867e37ed2c11cc7e9855ec6df5e0/CRM/Contact/BAO/Contact.php#L3048>
  
  And as noted in the comments by @username_0 you can use a plugin like [user role editor](https://wordpress.org/plugins/user-role-editor/) to set the permissions granted to roles.
  
  > **Comments:**
  > **username_0**: Thanks for your answer, and showing a way how to trouble shoot such questions by looking at the code! I have one more practical question for users that may not be able to change the code: Can I grant the "create_users" permission to a specific wordpress role in the "WordPress Access Control" or some other admin panel? If not, how could I go about adding that possibility to the "WordPress Access Control"?  
  > **username_0**: I found a solution myself: the `create_users` permission is a Wordpress permission. It can be set for a Wordpress Role in Wordpress itself, e.g. by using a plugin like [user-role-editor](https://wordpress.org/plugins/user-role-editor/) @username_1: maybe you can add this clarification in your answer  
  
  ---
  
  