interop - C# CultureInfo ignoring impersonation -


i want cultureinfo used user (that not logged on). thought use impersonation described in question, cultureinfo seems ignore impersonation.

if windowsidentity.getcurrent().name) name of non-logged-on user, if cultureinfo.currentculture culture of user starting application instead!

how can cultureinfo user?

i looked @ getuserdefaultlocalename in windows apis, i'm not familiar enough interop never working, , couldn't find online examples on how use c#. don't know if method work or if experience same issue.


Comments

Popular posts from this blog

python - PyInstaller UAC not working in onefile mode -

python - RuntimeError: can't re-enter readline -

php - Need to store a large amount of data in session with CI 3 but on storing large data in session it is itself destorying automatically -