/**
  * Remove role from user or user group, by assignment ID.
  *
  * @param mixed $roleAssignmentId
  */
 public function removeRoleAssignmentById($roleAssignmentId)
 {
     try {
         return $this->innerGateway->removeRoleAssignmentById($roleAssignmentId);
     } catch (DBALException $e) {
         throw new RuntimeException('Database error', 0, $e);
     } catch (PDOException $e) {
         throw new RuntimeException('Database error', 0, $e);
     }
 }
 /**
  * Un-assign a role by assignment ID.
  *
  * @param mixed $roleAssignmentId The assignment ID.
  */
 public function removeRoleAssignment($roleAssignmentId)
 {
     $this->userGateway->removeRoleAssignmentById($roleAssignmentId);
 }
 /**
  * Un-assign a role.
  *
  * @param mixed $contentId The user or user group Id to un-assign the role from.
  * @param mixed $roleId
  */
 public function unAssignRole($contentId, $roleId)
 {
     $this->userGateway->removeRole($contentId, $roleId);
 }