Today I was searching for a way to get the windows environment username/login with MEL. I was surprised that it took a little longer than normal to find it, so I figured I'd post it and hope it finds it's way into some searches.
string $localUser = `getenv userName` ;
Now go and make some tools for those local users!
Thanks so much for this! It really helped me out with a personal project of mine!
ReplyDeleteThanks, it indeed helped alot!
ReplyDelete