Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

current user name journal

Status
Not open for further replies.

ciach

Mechanical
Sep 23, 2011
19
hi,
i'm trying (with no success) to get user name by journal(vb) and put it in part attributes

i figure out how to change part attributes (it's sth like this)
theSession.Parts.Work.SetAttribute("AUTHOR", user_name)

but how i can get user name?
 
Replies continue below

Recommended for you

solution:

user_name = Environment.UserName
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor