I am a C # developer and I'm used to the good old Environment.CurrentUser . Now I need exaccty that in my Windows 8 Metro application (html and js).
Environment.CurrentUser
So how do I get it?
Windows.System.UserProfile.UserInformation .
Windows.System.UserProfile.UserInformation
There's also an example that uses this class, a sample account account name .
Source: https://habr.com/ru/post/1403157/More articles:MAGIC number in Android google io 2011 java source - androidFlash Player for Android emulator - androidIs it possible to use the result property of a function as a decorator? - pythonCommons FTPClient InputStream from several files in one connection - javahttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1403156/binding-parameters-to-postgres-query-in-perl-using-names&usg=ALkJrhinJ0umwIb128wLCA-DRfDW6xx8JwCan I use named placeholders in DBI selectcol_arrayref & Co.? - sqliteReturn 205 "Reset Content" for a partial RESTful update? - httpTomcat v7.0 Load Exception - Marking ssi servlet as unavailable - eclipseGoogle Maps API v3: custom overlay on canvas that doesn't display events in Safari - javascriptAttempt to programmatically scroll scrollviewer - vb.netAll Articles