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
Post a Comment