Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

hiddentrue

Note to writers- The following should be copied to the product pages before the page content is pulled:

...

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.

...

To enable users to log into the management console, you create user accounts and assign them roles, which are sets of permissions. You can add individual users or import users in bulk.

...

Follow the instructions below to add a new user account and configure its role.

Note

Add the GetRoleListOfInternalUserSQL property within the <Realm> section in the <PRODUCT_HOME>/repository/conf/user-mgt.xml file as follows, to avoid case sensitivity issues when creating users.

Code Block
languagexml
<Realm>
<Configuration>
<Property name="GetRoleListOfInternalUserSQL">SELECT UM_ROLE_NAME FROM UM_HYBRID_USER_ROLE, UM_HYBRID_ROLE WHERE UPPER(UM_USER_NAME)=UPPER ( ? ) AND UM_HYBRID_USER_ROLE.UM_ROLE_ID=UM_HYBRID_ROLE.UM_ID AND UM_HYBRID_USER_ROLE.UM_TENANT_ID=? AND UM_HYBRID_ROLE.UM_TENANT_ID=? AND UM_HYBRID_USER_ROLE.UM_DOMAIN_ID=(SELECT UM_DOMAIN_ID FROM UM_DOMAIN WHERE UM_TENANT_ID=? AND UM_DOMAIN_NAME=?)</Property>
</Configuration>
</Realm>
  1. Go to the Configure tab in the management console and click Users and Roles.
  2. Click Users. This link is only visible to users with the Admin role. 
  3. Click Add New User. The following screen will open:

  4. Do the following:
    1. 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. See the related topics for  For information on configuring user stores, see Configuring User Stores. 
    2. 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.
    3. Click Next.
  5. 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.
  6. Click Finish.

...

Info

This is only supported if you have configured your user store as a JDBCUserStoreManager. See the related topics for 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 <PRODUCT_HOME>/repository/conf/carbon.xml file using the TotalFileSizeLimit element. This value is in MB.

<TotalFileSizeLimit>100</TotalFileSizeLimit>

  1. On the Users screen, click Bulk Import Users.
  2. Browse and select the file that contains the user data. 
  3. 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.

...

You can also customize which permissions apply to this user by clicking View Roles in the Actions column of the Users screen and then selecting the permissions from each role that you want this user to have. See the related topics for information about permissions For information on permissions, see Role-based Permissions.

Customizing a user's profile

...

  1. Go to the Configure tab in the management console and click Users and Roles.  
  2. Click Users. This link is only visible to users with User Management level permissions. See the related topics for more information about permissions For information on permissions, see Role-based Permissions.
  3. In the Users list, click Delete next to the user you want to delete, and then click Yes to confirm the operation.

Related Topics

...

hiddentrue

Note to writers: Add the following with links to the relevant documentation:

...

  1. .