User management functionality is provided by default in all WSO2 Carbon-based products and is configured in the user-mgt.xml
file found in the <PRODUCT_HOME>/repository/conf/
directory. The instructions given in this topic explain how you can add and manage users from the management console.
...
Follow the instructions below to add a new user account and configure its role.
Note | |||||
---|---|---|---|---|---|
Add the
|
- Go to the Configure tab in the management console and click Users and Roles.
- Click Users. This link is only visible to users with the Admin role.
- Click Add New User. The following screen will open:
- Do the following:
- In the Domain list, specify the user store where you want to create this user account. This list includes the primary user store and any other secondary user stores that are configured for your product. For information on configuring user stores, see Configuring User Stores.
- Enter a unique user name and the password that the person will use to log in. By default, the password must be at least five characters and should have at least one character with a capital letter, characters, numbers and special characters.
- Click Next.
- Optionally, select the role(s) you want this user to have. If you have many roles in your system, you can search for them by name.
- Click Finish.
...
Info |
---|
This is only supported if you have configured your user store as a JDBCUserStoreManager. For information on how JDBC user stores are configured, see Configuring User Stores. 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
|
- On the Users screen, 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.
...