Sentence:  One afternoon , upon <WSD>receiving</WSD> permission and the necessary instructions from the clerk , I had visited the toilet adjoining the hall . 
Meaning of the word marked with <WSD> tags:  receive a specified treatment (abstract)