UserDomain

From Environment Variables
Jump to: navigation, search

UserDomain environment variable returns the name of the domain that contains the user's account. [1]

echo %UserDomain%
Intranet

Default value

UserDomain environment variable doesn't have default value. The value of UserDomain environment variable depends on the Windows Domain the workstation included into.

References

  1. Environment Variable Reference

See also

AllUsersProfile | AppData | CD | ClientName | CmdCmdLine | CmdExtVersion | CommonProgramFiles | ComputerName | ComSpec | Date | ErrorLevel | HomeDrive | HomePath | LocalAppData | LogonServer | Number Of Processors | OS | Path | PathExt | Processor Architecture | Processor Identifier | Processor Level | Processor Revision | ProgramFiles | Prompt | Random | SessionName | SystemDrive | SystemRoot | Temp | Time | Tmp | UserDnsDomain | UserDomain | UserName | UserProfile | WinDir


Personal tools
Namespaces

Variants
Actions
Navigation
Catalogue
Google AdSense
Tools