<?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 Re: How to create users in alfresco using DotCmis in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-create-users-in-alfresco-using-dotcmis/m-p/288803#M241933</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With CMIS 1.0, it is not possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--C.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Nov 2016 18:52:48 GMT</pubDate>
    <dc:creator>cesarista</dc:creator>
    <dc:date>2016-11-18T18:52:48Z</dc:date>
    <item>
      <title>How to create users in alfresco using DotCmis</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-create-users-in-alfresco-using-dotcmis/m-p/288800#M241930</link>
      <description>Hi,How do i create user in alfresco using dotcmiskindly suggest.Regards,Shiv</description>
      <pubDate>Fri, 18 Nov 2016 07:53:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-create-users-in-alfresco-using-dotcmis/m-p/288800#M241930</guid>
      <dc:creator>shivtechno</dc:creator>
      <dc:date>2016-11-18T07:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to create users in alfresco using DotCmis</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-create-users-in-alfresco-using-dotcmis/m-p/288801#M241931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In principle CMIS 1.1 is very useful with&amp;nbsp;id based CRUD on custom types and metadata operations (and more...), but CMIS is an standard with limited specs for DM and does not know about workflows in Alfresco for example. You can query users in CMIS 1.1, update some properties, or set simple ACLs... but I think it is not possible to create users, groups or assign users in groups. For these tasks, use REST API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This post can help you to see some of the initial limitations of CMIS 1.0 and how to solve them via cmis:item support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://ecmarchitect.com/archives/2014/04/28/3703" title="http://ecmarchitect.com/archives/2014/04/28/3703" rel="nofollow noopener noreferrer"&gt;Cool things you can do in Alfresco with cmis:item support | ECM Architect&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 09:37:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-create-users-in-alfresco-using-dotcmis/m-p/288801#M241931</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2016-11-18T09:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to create users in alfresco using DotCmis</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-create-users-in-alfresco-using-dotcmis/m-p/288802#M241932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can i use below API for create new user in alfresco &lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="http://127.0.0.1:8080/alfresco/api/-default-/public/cmis/versions/1.0/atom" title="http://127.0.0.1:8080/alfresco/api/-default-/public/cmis/versions/1.0/atom" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.0/atom&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 11:53:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-create-users-in-alfresco-using-dotcmis/m-p/288802#M241932</guid>
      <dc:creator>shivtechno</dc:creator>
      <dc:date>2016-11-18T11:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to create users in alfresco using DotCmis</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-create-users-in-alfresco-using-dotcmis/m-p/288803#M241933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With CMIS 1.0, it is not possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--C.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 18:52:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-create-users-in-alfresco-using-dotcmis/m-p/288803#M241933</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2016-11-18T18:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to create users in alfresco using DotCmis</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-create-users-in-alfresco-using-dotcmis/m-p/288804#M241934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then what is the solution for this..&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shivkumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Nov 2016 03:36:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-create-users-in-alfresco-using-dotcmis/m-p/288804#M241934</guid>
      <dc:creator>shivtechno</dc:creator>
      <dc:date>2016-11-19T03:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to create users in alfresco using DotCmis</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-create-users-in-alfresco-using-dotcmis/m-p/288805#M241935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cesar is correct, the CMIS specification does not provide for user or group management.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Alfresco API can do what you need. You can write your own web script that leverages either the JavaScript API or the Java API to create users. Or you can leverage the out-of-the-box REST API to create people and assign them to groups.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should be able to find a lot of examples of people creating users with the Alfresco REST API. &lt;A _jive_internal="true" href="https://community.alfresco.com/thread/181313-cant-add-person-restful-api" rel="nofollow noopener noreferrer"&gt;Here is one&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Nov 2016 18:58:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-create-users-in-alfresco-using-dotcmis/m-p/288805#M241935</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2016-11-21T18:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to create users in alfresco using DotCmis</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-create-users-in-alfresco-using-dotcmis/m-p/288806#M241936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok i understand but other than webscript can we use this api in C# and add user to alfresco it it possible&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 11:16:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-create-users-in-alfresco-using-dotcmis/m-p/288806#M241936</guid>
      <dc:creator>shivtechno</dc:creator>
      <dc:date>2016-11-23T11:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to create users in alfresco using DotCmis</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-create-users-in-alfresco-using-dotcmis/m-p/288807#M241937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was tried with below code but user not created&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any solution please suggest..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var url = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://127.0.0.1:8080/alfresco/service/api/people" rel="nofollow noopener noreferrer" target="_blank"&gt;http://127.0.0.1:8080/alfresco/service/api/people&lt;/A&gt;&lt;SPAN&gt;";//admin:nove&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; var userInfo = { userName: "testcreatesuer", password: "testpassword", firstName: "testfirst", lastName: "testlast", email: "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:testemail@test.com" rel="nofollow noopener noreferrer"&gt;testemail@test.com&lt;/A&gt;&lt;SPAN&gt;", disableAccount: false, quote: -1, groups: [] };&lt;/SPAN&gt;&lt;BR /&gt; console.log(JSON.stringify(userInfo));&lt;BR /&gt; $.ajax({&lt;BR /&gt; headers: {&lt;BR /&gt; 'Accept': 'application/json',&lt;BR /&gt; 'Content-Type': 'text/plain'&lt;BR /&gt; },&lt;BR /&gt; username: 'admin',&lt;BR /&gt; password: 'nove',&lt;BR /&gt; type: 'POST',&lt;BR /&gt; url: url,&lt;BR /&gt; data: JSON.stringify(userInfo),&lt;BR /&gt; dataType: 'application/json',&lt;BR /&gt; success: function (response) {&lt;BR /&gt; console.log("success");&lt;BR /&gt; },&lt;BR /&gt; error: function (response) {&lt;BR /&gt; console.log("Error Occured");&lt;BR /&gt; }&lt;BR /&gt; });&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 13:57:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-create-users-in-alfresco-using-dotcmis/m-p/288807#M241937</guid>
      <dc:creator>shivtechno</dc:creator>
      <dc:date>2016-11-23T13:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to create users in alfresco using DotCmis</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-create-users-in-alfresco-using-dotcmis/m-p/288808#M241938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are setting your content-type to "text/plain" when it should be "application/json" because what you are posting is JSON, not plain text.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2016 15:29:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-create-users-in-alfresco-using-dotcmis/m-p/288808#M241938</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2016-11-23T15:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to create users in alfresco using DotCmis</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-create-users-in-alfresco-using-dotcmis/m-p/288809#M241939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;var url = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://admin:nove@127.0.0.1:8080/alfresco/service/api/people" rel="nofollow noopener noreferrer" target="_blank"&gt;http://admin:nove@127.0.0.1:8080/alfresco/service/api/people&lt;/A&gt;&lt;SPAN&gt;";//admin:nove&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;SPAN&gt; var userInfo = { userName: "testcreatesuer123161", password: "testpassword", firstName: "testfirst", lastName: "testlast", email: "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:testemail@test.com" rel="nofollow noopener noreferrer"&gt;testemail@test.com&lt;/A&gt;&lt;SPAN&gt;", disableAccount: false, quote: -1, groups: [] };&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; $.ajax({&lt;BR /&gt; headers: {&lt;BR /&gt; 'Content-Type': 'application/json'&lt;BR /&gt; },&lt;BR /&gt; type: 'POST',&lt;BR /&gt; url: url,&lt;BR /&gt; crossDomain: true,&lt;BR /&gt; asyn:false,&lt;BR /&gt; data: JSON.stringify(userInfo),&lt;BR /&gt; dataType: 'jsonp',&lt;BR /&gt; success: function (response) {&lt;BR /&gt; console.log("success");&lt;BR /&gt; },&lt;BR /&gt; error: function (response) {&lt;BR /&gt; console.log("Error Occured");&lt;BR /&gt; }&lt;BR /&gt; });&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am using jsonp also but still there is error like unexpected token&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 08:04:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-create-users-in-alfresco-using-dotcmis/m-p/288809#M241939</guid>
      <dc:creator>shivtechno</dc:creator>
      <dc:date>2016-11-24T08:04:44Z</dc:date>
    </item>
  </channel>
</rss>

