Connecting Mainframe to VS code

I am new to working with mainframe through VS code. I have connected mainframe with vscode through zosmf. When I submit the job with vs code , the user id being used is IZUSVR in job log. But if I submit through zosmf ispf, its showing actual id. Is it intended? Where should i be looking to fixed this?

Hello,

Welcome to working with mainframes via VS Code! You’re definitely on the right track using Zowe and zosmf to connect, but the behavior you’re seeing with the job submissions (showing IZUSVR instead of your actual user ID) isn’t typically what you’d expect — and it’s definitely fixable.

What’s Likely Happening
When you submit a job through VS Code using the Zowe Explorer extension and it shows IZUSVR as the submitting user in the job log, it usually means the job submission is being done by the z/OSMF server itself (i.e., using the IZUSVR surrogate user ID), rather than impersonating your own user.

Expected Behavior
When submitting via Zowe CLI / VS Code, your own user ID should be used (e.g., YOURID).

When submitting via z/OSMF ISPF interface, it correctly uses your user ID because you’re already authenticated as yourself.

Why This Happens
Zowe uses z/OSMF REST APIs under the hood, and in some configurations, z/OSMF is set up not to impersonate the end-user. Instead, it runs actions under the service account (IZUSVR) for security or simplicity reasons.

Best Regards

Thank you so much for the answer. This gave me direction on where to look.