Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MintJulep 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
Joined
Sep 23, 2011
Messages
19
Location
GB
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?
 
solution:

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

Part and Inventory Search

Sponsor

Back
Top