contract DirectoryService {

  /**
  @notice Returns the user's role id
  @param _read_role_id_function Function that returns a role id of a user
  @param _user Id of the user
  @return {"_role_id": "Role id of the user"}
  */
  function internal_get_user_role_id(function (address) external constant returns (uint256) _read_role_id_function, address _user)
           internal
           constant
           returns (uint256 _role_id)
  {
    _role_id = _read_role_id_function(_user);
  }
}
/**
 @title Directory Service
 @author DigixGlobal
 */
function internal_get_user_role_id(function (address) external constant returns (uint256) _read_role_id_function, address _user)
         internal
         constant
         returns (uint256 _role_id)
{
  _role_id = _read_role_id_function(_user);
}

/**
 @notice Returns the user's role id
 @param _read_role_id_function Function that returns a role id of a user
 @param _user Id of the user
 @return {"_role_id": "Role id of the user"}
 */