Who's uuid is used when doing auth.uid() in a security definer function?

According to the functions page, a security definer is executed with the privileges of the user that created it. When calling auth.uid(), would it use the uuid of the person who called it?
Was this page helpful?