()
| 629 | * qualified form is unambiguous when the machine is domain-joined. |
| 630 | */ |
| 631 | const windowsTaskUserId = (): string => { |
| 632 | const name = userInfo().username; |
| 633 | const domain = process.env.USERDOMAIN; |
| 634 | return domain ? `${domain}\\${name}` : name; |
| 635 | }; |
| 636 | |
| 637 | /** |
| 638 | * Render the Task Scheduler task definition (Task Scheduler 1.2 XML, the schema |
no outgoing calls
no test coverage detected