We have found a strange edge case and I would like some advice as to how "owner:me" works with the Vault API.
Vault retention is turned on.
User joebloggs@domain.com has had a lot of drive files and he deleted them 6 months ago. The user was then renamed to old-joebloggs@domain.com 2 months ago.
When we try to Search or Export using the Account old-joebloggs@domain.com and Search Term "in:trash". The deleted files that belong to this user via joebloggs@domain.com are not returned. Only any files that old-joebloggs@domain.com owned.
However, if we Search or Export using the Account old-joebloggs@domain.com and Search Term "in:trash AND owner:me". All of the deleted files that belong to this user are returned.
Is this a valid use of the "owner:me" search operator? It appears to work, but should it? I cant find this documented anywhere.
I was led to believe that owner:me was connected with the currently logged in session. Does providing the Account in the Search act like the session?
Thanks
Matt