In this section, we propose two algorithms to construct the role hierarchy. Section 4.1 describes RHBuilder which aims to address Role Hierarchy Building Problem (RHBP). RH-Miner is introduced in Section 4.2 for the Role Hierarchy Mining Problem (RHMP).