• It's executed as the SQL server Agent logon. So it's not the console where you logged on, it's a separate console for that user.

    Even if you use your use ID, I'm not sure it's the same session in which it runs.

    What are you trying to do? If you have a script that executes as your login, then it will work with the SQL Agent one, providing it has the permissions required.