Hotels are required by law to protect the privacy of their guests and will not provide any information about them unless they have given explicit consent. The best way for you to find out what room someone is staying in would be for them to give you that information directly or authorize the hotel staff on your behalf.