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
44
S
12
G
1
Posts: 231
Reputation: 3,875

Post » Wed Dec 31, 2014 7:41 am

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

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
44
S
12
G
1
Posts: 231
Reputation: 3,875


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, Casimir, tarek2 and 11 guests