От: | kanadohodec | ||
Дата: | 11.05.15 21:29 | ||
Оценка: |
_options = new ConnectionOptions();
_options.Username = _username;
_options.Password = _password;
_options.Authority = string.Format("ntlmdomain:{0}", _domain);
_options.Impersonation = ImpersonationLevel.Impersonate;
_options.EnablePrivileges = true;
_options.Authentication = AuthenticationLevel.Call;