I am trying to build a logging system within my excel sheet.
To keep track of who will edit the excel that is shared across a team.
I was wondering if you can get the details (Username, email, full name) from MS Account currently signed in that is editing the excel sheet using Office Script ? Since this will be used on the web or desktop version of excel.
Like with VBA if you want to get the windows account name you use:
I am trying to achieve the same with Office scripts