if(!NativeMethods.GetUserNameEx(NameUserPrincipal, null, ref userNameSize))
            throw new System.ComponentModel.Win32Exception();