var user = XSIUtils.Environment.Item("USERNAME")
you can get the same from the scripting host too.
Adam Seeley wrote:
Hi again,
Also, within a script, how do I find the current user?
I'm looking through the docs but "user" is a very vague word search.
Cheers,
Adam.
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.467 / Virus Database: 269.7.6 - Release Date: 20/05/2007 00:00
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi