<?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 can one bulk create users? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-one-bulk-create-users/m-p/314832#M1833</link>
    <description>&lt;P&gt;I was hoping to have a scripted way to accomplish this, but given that does not exist it seems to make more sense to have another tool for managing users. I am already running a multidirectory with a mix of LDAP and local SQL users. It seems pointing to another CMS like a Drupal install could be useful for something like what I need. That would enable users to sign up themselves and manage their passwords. Also, admins could approve the accounts and assign them to roles easily. I might explore exposing a Drupal database of users to Nuxeo.&lt;/P&gt;</description>
    <pubDate>Sat, 04 Feb 2012 22:07:48 GMT</pubDate>
    <dc:creator>cmoad_</dc:creator>
    <dc:date>2012-02-04T22:07:48Z</dc:date>
    <item>
      <title>How can one bulk create users?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-one-bulk-create-users/m-p/314829#M1830</link>
      <description>&lt;P&gt;Is there any possible way to create a bunch of users by using the automation api or another mechanism. The import information would include their email, username, password, and a single group in which they should be a part of.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2012 19:18:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-can-one-bulk-create-users/m-p/314829#M1830</guid>
      <dc:creator>cmoad_</dc:creator>
      <dc:date>2012-02-03T19:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: How can one bulk create users?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-one-bulk-create-users/m-p/314830#M1831</link>
      <description>&lt;P&gt;Not direclty, I think.&lt;/P&gt;
&lt;P&gt;But I'm sure create your own operation can be really easy that takes a CSV file.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Create an &lt;A href="http://doc.nuxeo.com/x/cYKE"&gt;empty project with Nuxeo IDE&lt;/A&gt;.&lt;/LI&gt;
&lt;LI&gt;Create an empty operation operation in it that takes a Blob as input&lt;/LI&gt;
&lt;LI&gt;parse the CSV and create a SQL query that populates the table user (if you kept the default configuration.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;You can use maybe org.nuxeo.ecm.directory.sql.SQLHelper#loadData.&lt;/P&gt;
&lt;P&gt;Hope this will help you.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2012 23:17:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-can-one-bulk-create-users/m-p/314830#M1831</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2012-02-03T23:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: How can one bulk create users?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-one-bulk-create-users/m-p/314831#M1832</link>
      <description>&lt;P&gt;Users are usually managed in a database or a LDAP.&lt;/P&gt;
&lt;P&gt;Benjamin pointed you a first solution. There may be a lot of various ways.&lt;BR /&gt;
Do you want to do it by programming, scripting or configuring? With what kind of source (file, SQL, form, ...)? Do you want to do it once or repeatedly, for initializing a server or regularly adding users on a running server?&lt;/P&gt;
&lt;P&gt;Depending on how/where your users are currently managed, you can also simply feed Nuxeo with that source of users and groups. &lt;BR /&gt;/&amp;gt;
See &lt;A href="http://doc.nuxeo.com/x/K4xH"&gt;Directories and Vocabularies&lt;/A&gt;, &lt;A href="http://doc.nuxeo.com/x/K4AO"&gt;Authentication, users and groups&lt;/A&gt;, &lt;A href="http://explorer.nuxeo.org/nuxeo/site/distribution/current/viewExtensionPoint/org.nuxeo.ecm.platform.usermanager.UserService--userManager"&gt;UserManager&lt;/A&gt; and &lt;A href="http://explorer.nuxeo.org/nuxeo/site/distribution/current/viewExtensionPoint/org.nuxeo.ecm.directory.sql.SQLDirectoryFactory--directories"&gt;SQLDirectoryFactory&lt;/A&gt; which can be provided a dataFile to initially populate the users or groups table.&lt;/P&gt;
&lt;P&gt;For running benchmarks, tests, trainings, ..., there's also the easy use of "virtual" users.&lt;/P&gt;</description>
      <pubDate>Sat, 04 Feb 2012 02:01:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-can-one-bulk-create-users/m-p/314831#M1832</guid>
      <dc:creator>Julien_Carsique</dc:creator>
      <dc:date>2012-02-04T02:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: How can one bulk create users?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-one-bulk-create-users/m-p/314832#M1833</link>
      <description>&lt;P&gt;I was hoping to have a scripted way to accomplish this, but given that does not exist it seems to make more sense to have another tool for managing users. I am already running a multidirectory with a mix of LDAP and local SQL users. It seems pointing to another CMS like a Drupal install could be useful for something like what I need. That would enable users to sign up themselves and manage their passwords. Also, admins could approve the accounts and assign them to roles easily. I might explore exposing a Drupal database of users to Nuxeo.&lt;/P&gt;</description>
      <pubDate>Sat, 04 Feb 2012 22:07:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-can-one-bulk-create-users/m-p/314832#M1833</guid>
      <dc:creator>cmoad_</dc:creator>
      <dc:date>2012-02-04T22:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: How can one bulk create users?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-one-bulk-create-users/m-p/314833#M1834</link>
      <description>&lt;P&gt;Please edit your post if you're looking for more features about users management&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2012 09:54:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-can-one-bulk-create-users/m-p/314833#M1834</guid>
      <dc:creator>Anahide_Tchertc</dc:creator>
      <dc:date>2012-02-10T09:54:41Z</dc:date>
    </item>
  </channel>
</rss>

