The domain of the user is the NetworkDomain field on the UserInfo record. AX doesn't have a domain. The machine running AX will be part of a domain, and you can get that from the environment variables probably the easiest, but the don't you really want the user's domain anyway?
↧