Example #1
0
 /**
  * Function to update role list of user
  *
  * @param UpdateRoleListOfUser $parameters
  * @return void
  */
 public function updateUserRoles( $username, $roles){
     try {
         return $this->userStoreManager->updateRoleListOfUser( $username, $roles);
     } catch (Exception $ex) {
         throw new Exception("Unable to update role of the user.", 0, $ex);
     }
 }