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

Function windowsTaskUserId

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

Source from the content-addressed store, hash-verified

629 * qualified form is unambiguous when the machine is domain-joined.
630 */
631const 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

Callers 1

makeWindowsBackendFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected