How do I Get The Windows Current User Name?

Get help using Construct 2

Post » Wed Dec 31, 2014 2:31 am

Simple question, hopefully simple solution. How do i retrieve the name of the current Windows user logged in to the computer?
B
45
S
13
G
1
Posts: 236
Reputation: 4,010

Post » Wed Dec 31, 2014 7:41 am

Browsers do not allow that for security reasons.
B
21
S
5
Posts: 196
Reputation: 1,974

Post » Wed Dec 31, 2014 1:41 pm

Oh, dang. I thought maybe it could be done because it allows you to get the user's personal folder which has their user name but it has /users/#name#/ as part of the string so I can't use this.
B
45
S
13
G
1
Posts: 236
Reputation: 4,010


Return to How do I....?

Who is online

Users browsing this forum: Blendi1223 and 17 guests