How to know who created the room?

213 Views Asked by At

I am trying that when entering a room, only the person who created it obtains permission to change some settings, But I don't know how to get the person who created the room, what can I do?.

I am using photon 2

1

There are 1 best solutions below

0
On BEST ANSWER

The Room has a property named MasterClientId, that is the one you are looking for.