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

Function windowsTaskUserId

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

Source from the content-addressed store, hash-verified

618 * qualified form is unambiguous when the machine is domain-joined.
619 */
620const windowsTaskUserId = (): string => {
621 const name = userInfo().username;
622 const domain = process.env.USERDOMAIN;
623 return domain ? `${domain}\\${name}` : name;
624};
625
626/**
627 * 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