Which user ran the script?

Is there a way to tell, within a script, which user ran the script?

I have a script which is used to boost the hot water tank on demand. Sometimes the call to the Honeywell Evohome controller fails, and so the script checks after 5 minutes, and if the Domestic Hot Water isn’t On, I get a notification on my phone. However, I would also like to send my GF a notification, if it was her that initiated the script (via a button on the companion app on her phone).

Check the context.user_id

Thanks. In the message you linked to, the context is linked to a Trigger event. But I think that is to do with automations? I am not sure how to reference that in a script.
Do I have to create a separate automation, which runs when the script is called, and sets the user id in a variable, or something like that?