Determine current user id in form customization?

Maybe this has been asked before but darned if I can find the answer.

I’m in Epicor 9.05 and need to figure out the current user’s Epicor ID in a customization… is there a way to do that?

Thanks!
-Bruce

It is form then session.UserID

like
UD01Form.Session.UserID

3 Likes

Thank you sir! Now I can go home satisfied :slight_smile:

I had to use ((Session)PartForm.Session).UserID, and add a “using Epicor.Mfg.Core” to be exact for future searchers.

You can use the Object Explorer (shows VB but easily translated into C#) to find this information. You can find the Object Explorer from the Tools menu in the Customization Tools Dialog.

1 Like

Also good to know, thanks!

-Bruce