# Hierarchical Structure

To use a hierarchical user structure, you must create a hierarchical set of roles. You can then assign users to the roles.

To create a hierarchical user structure

1. Decide which groups you want to use to structure your users. You can, for example, group them according to roles and responsibilities.

2. Use the `RoleAdd` action to create a role for each user group. For example:

       action=RoleAdd&RoleName=Sales

3. Use the `RoleAddRoleToRole` action to create a hierarchical structure of roles. For example:

       action=RoleAddRoleToRole&RoleName=Sales&ParentRoleName=TeleSales

4. Use the `UserAdd` action to create individual IDOL users. For example:

       action=UserAdd&UserName=JaneBrown&Password=Sesame

5. Use the `RoleAddUserToRole` action to associate each user with a role. For example:

       action=RoleAddUserToRole&UserName=JaneBrown&RoleName=TeleSales

_FT_HTML5_bannerTitle.htm