Depending on the kind of network, we should raise an exception. Indeed such information should not be available in anonymous networks. We will add such checks later.