In the situation if someone leaves a company, to transfer all the files (Spreadsheets, Documents, Sites, Slides etc) they own to someone else, is there any method or a function to list the files using apps script ?
For instance, if I am trying to list all Spreadsheets owned by person with email "xyz@google.com", may be like SpreadsheetApp.getSheetsOwnedBy("xyz@google.com"). I tried finding something like this but could not find any. Could anyone please share your knowledge on this if you have idea.
Thanks in advance!!!