Try Now
More in this section

Forums / General Discussions / Migrating users from CSV to Sitefinity

Migrating users from CSV to Sitefinity

3 posts, 0 answered
  1. Arjuna
    Arjuna avatar
    6 posts
    09 Aug 2012
    11 May 2013
    Link to this post
    I am preparing a response for one of our clients using Sitefinity.  They will provide us with a plain text file (CSV) containing usernames, and passwords (in plain text) of users they wish to migrate to Sitefinity.  How do I migrate these users into Sitefinity. 
  2. Mark
    Mark avatar
    147 posts
    01 Jun 2010
    11 May 2013
    Link to this post
    You'll want to loop over the csv and create users using the Sitefinity Fluent API.

    Creating users: http://www.sitefinity.com/documentation/documentationarticles/developers-guide/deep-dive/security/users/managing-users/creating-users
    A fast csv reader: http://www.codeproject.com/Articles/9258/A-Fast-CSV-Reader
  3. Stefani Tacheva
    Stefani Tacheva avatar
    718 posts
    26 Oct 2016
    15 May 2013
    Link to this post

    We do not have any built in functionality to facilitate a mass import of users. If you want to have such implementation you would need to create a custom control that would allow you to read through the CSV file and add the users via the API. For the taxonomies (classifications) you can find the hierarchical API and the flat API. The documentation for our users API could be found here.

    We have already had an example of it being done with Ecommerce products so you can take a look at the code for that on Git to get started. You might find it useful.

    All the best,
    Stefani Tacheva
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
3 posts, 0 answered