Base solution for your next web application
Open Closed

Import Users #4709


User avatar
0
vladsd created

There is an export users function. What about Import Users? Anyone have implemented it?

Thanks.


6 Answer(s)
  • User Avatar
    0
    BobIngham created

    From a third party system or from a data import of some kind?

  • User Avatar
    0
    vladsd created

    I was thinking simple upload file for now.

  • User Avatar
    0
    bbakermmc created

    The data is in the tables in the DB. What are you tying to do?

  • User Avatar
    0
    alper created
    Support Team

    I don't think it will be a challenging work. Read ing an Xlsx file and creating user for each row.

    Simply you can check out the code below to create a user.

    var user = new User(...);
    UserManager.Create(user);
    unitofwork.SaveChanges();
    var newUserId = user.id;
    
  • User Avatar
    0
    vladsd created

    @alper - thanks, I know its easy to do, it was just a feature suggestion for Zero. When you create export, you want to pair with import function.

  • User Avatar
    0
    alper created
    Support Team

    <cite>vladsd: </cite> @alper - thanks, I know its easy to do, it was just a feature suggestion for Zero. When you create export, you want to pair with import function.

    thanks for it! I'll keep in mind while we discuss about the new features for the new releases.