How can I activate user accounts in batch?


#1

We have a site with many user accounts which need to be activated. Is there any way we can activate it all in batch? It’ll take a lot of time to do it from http://[site-url]/admin/users/[id]/[name]

Thanks.


(Ivan Rapekas) #2

You may find a discussion here, how to create and activate users using API. I think, people familiar to bash, cmd, python etc may help to create simple batch script to loop an activating process.


#3

Thanks, Ivan. That will solve our problem. We’ll consult the API doc and modify the script to suit our need. :smile:


(Jay Pfaffman) #4

See Bulk deactivation of inactive users you can modify the code there to activate.


#5

Perfect!!! Thanks, Jay.