AOS service account

You don’t need the name of the account. Just check whether the current user has permissions and run the code from server, therefore current user == AOS service.