Username

Blitz3D Forums/Blitz3D Beginners Area/Username

pc_tek(Posted 2009) [#1]
Is there any way of determining the current windows user via Blitz?


GfK(Posted 2009) [#2]
GetEnv("USERNAME") ?

Don't forget that the user can change environment variables, so it might not be the best method if what you're doing really depends on the result.


pc_tek(Posted 2009) [#3]
Cheers, GFK!

If anybody in my domain fiddles with env vars, I'll have their guts for starters.

I mean garters. Honest.