Windows

Who is logged in? Local machine account or Active Directory domain account?

In this article you will learn how to check quickly which type of acount is currently logged in.

Method 1

1) Run Command Prompt and type echo %logonserver% command.
If it is the local machine then you are using a local account and if it is a DC that is mentioned then you are using a domain user.

Method 2

2) By using whoami command:

If you are logged using a local account then you will get as a result Computer\username
If you are logged using a domain account then you will get as a result Domain\username