Thanks! Thought of the @LDOMAIN. This gives the domani logged into. Forgot about @DOMAIN. This gives a piece of the answer, but doesn't tell if joined to a domain or in a workgroup...