Skip to content
This repository has been archived by the owner on Feb 10, 2021. It is now read-only.

How to implement bulk user import from a text file such as CSV? #146

Closed
yuchuan1 opened this issue Jan 17, 2014 · 1 comment
Closed

How to implement bulk user import from a text file such as CSV? #146

yuchuan1 opened this issue Jan 17, 2014 · 1 comment

Comments

@yuchuan1
Copy link

Hello Joscha,

I need to implement a function to allow admin user to import users using a CSV file. Is it possible to create accounts this way?

Thanks

@yuchuan1
Copy link
Author

I got it already.
My# # = new My#();
MyUserServicePlugin userService = new MyUserServicePlugin(Play.application());
MyUsernamePasswordAuthUser newUser = new MyUsernamePasswordAuthUser(#);
userService.save(newUser);

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant