In addition to manually adding individual users, you can import multiple users in bulk if you have exported them to a comma-separated values (.csv) file or Microsoft Excel (.xls) file.
This is only supported if you have configured your user store as JDBCUserStoreManager. See here for information on how to do this.
It is recommended to upload a maximum of 500,000 users at a time. If you need to upload more users, you can upload them in separate batches of 500,000 each. You can also specify the size of the file that you can upload in the <PRODUCT_HOME>/repository/conf/carbon.xml
file using theTotalFileSizeLimit
element. This value is in MB.
<TotalFileSizeLimit>100</TotalFileSizeLimit>
Follow the steps given below to import users:
- Sign in to the WSO2 EMM management console.
- Click Add under Users and Roles.
- Click Bulk Import Users.
- Browse and select the file that contains the user data.
- Specify a default password to assign to all the users you are importing and click Finish. This password is valid for only 24 hours, so you should inform your users that they must log in and change their password within 24 hours.