How to get local Participant ID with Iframe API?

I need a way to get the ID of the local participant, as I need to pass this data on to an external tool that monitors their activities. I am currently using the getParticipantsInfo method and filtering its content, but I believe it is an unnecessary cost, as user information must be stored in some easily accessible location.

I thank the community, the work that is being done here is incredible!