current user name journal
current user name journal
(OP)
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?
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?





RE: current user name journal
user_name = Environment.UserName