<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Create Users/Groups and others via REST API in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/create-users-groups-and-others-via-rest-api/m-p/4483#M2003</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;i'm trying to create new users and groups via REST API but I don’t find the method.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;I try:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;POST&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&lt;A href="http://localhost:8080/activiti-app/api/enterprise/users?tenantId=1" rel="nofollow noopener noreferrer"&gt;&lt;SPAN style="color: #2989c5; text-decoration: none;"&gt;http://localhost:8080/activiti-app/api/enterprise/users?tenantId=1&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0cm;"&gt;&lt;SPAN style="font-size: 11.5pt; color: black;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0cm;"&gt;&lt;SPAN style="font-size: 11.5pt; color: black;"&gt;&amp;nbsp; "id":"tijs",&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0cm;"&gt;&lt;SPAN style="font-size: 11.5pt; color: black;"&gt;&amp;nbsp; "firstName":"Tijs",&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0cm;"&gt;&lt;SPAN style="font-size: 11.5pt; color: black;"&gt;&amp;nbsp; "lastName":"Barrez",&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0cm;"&gt;&lt;SPAN style="font-size: 11.5pt; color: black;"&gt;&lt;SPAN&gt;&amp;nbsp; "email":"&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:no-reply@alfresco.org" rel="nofollow noopener noreferrer"&gt;no-reply@alfresco.org&lt;/A&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0cm;"&gt;&lt;SPAN style="font-size: 11.5pt; color: black;"&gt;&amp;nbsp; "password":"pass123"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: #EEEEEE; border: none; padding: 0cm;"&gt;&lt;SPAN style="font-size: 11.5pt; color: black;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;And another things but i get: "Method POST not allowed"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;I need to create via REST API the following items:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;- Users&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;- Groups&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;- Alfresco endpoint&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;- WS endpoint&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d;"&gt;but i didn’t find how to in the documentation.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jan 2017 07:46:15 GMT</pubDate>
    <dc:creator>oathmind</dc:creator>
    <dc:date>2017-01-24T07:46:15Z</dc:date>
    <item>
      <title>Create Users/Groups and others via REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/create-users-groups-and-others-via-rest-api/m-p/4483#M2003</link>
      <description>Hi,&amp;nbsp;i'm trying to create new users and groups via REST API but I don’t find the method.&amp;nbsp;I try&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;OST&amp;nbsp;http://localhost:8080/activiti-app/api/enterprise/users?tenantId=1&amp;nbsp;{&amp;nbsp; "id":"tijs",&amp;nbsp; "firstName":"Tijs",&amp;nbsp; "lastName":"Barrez",&amp;nbsp; "email":"no-reply@alfresco.org",&amp;nbsp; "password":"pass123"}&amp;nbsp;And another things</description>
      <pubDate>Tue, 24 Jan 2017 07:46:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/create-users-groups-and-others-via-rest-api/m-p/4483#M2003</guid>
      <dc:creator>oathmind</dc:creator>
      <dc:date>2017-01-24T07:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: Create Users/Groups and others via REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/create-users-groups-and-others-via-rest-api/m-p/4484#M2004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Enterprise Edition API for user management is documented here:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://docs.alfresco.com/activiti/docs/dev-guide/1.5.0/#_users" title="https://docs.alfresco.com/activiti/docs/dev-guide/1.5.0/#_users" rel="nofollow noopener noreferrer"&gt;Alfresco Activiti - Identity Management - Users&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that in order to use this API you must include a tenantId as an integer and you must be either a tenant admin or tenant manager.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;e.g. POST&amp;nbsp;&lt;A class="link-titled" href="http://localhost:8080/activiti-app/api/enterprise/admin/users?tenantId=1&amp;amp;size=999" title="http://localhost:8080/activiti-app/api/enterprise/admin/users?tenantId=1&amp;amp;size=999" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/activiti-app/api/enterprise/admin/users?tenantId=1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Payload:&amp;nbsp;{"email":"&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:doo@bar.com" rel="nofollow noopener noreferrer"&gt;doo@bar.com&lt;/A&gt;&lt;SPAN&gt;","firstName":"Doo","lastName":"Bar","status":"active","type":"enterprise","password":"doobar","tenantId":1}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;BR /&gt;greg&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 17:27:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/create-users-groups-and-others-via-rest-api/m-p/4484#M2004</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-01-24T17:27:07Z</dc:date>
    </item>
  </channel>
</rss>

