MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / windowsTaskUserId

Function windowsTaskUserId

apps/cli/src/service.ts:624–628  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

622 * qualified form is unambiguous when the machine is domain-joined.
623 */
624const windowsTaskUserId = (): string => {
625 const name = userInfo().username;
626 const domain = process.env.USERDOMAIN;
627 return domain ? `${domain}\\${name}` : name;
628};
629
630/**
631 * Render the Task Scheduler task definition (Task Scheduler 1.2 XML, the schema

Callers 1

makeWindowsBackendFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected