Include windows groups in the identity

This commit is contained in:
Cyberboss
2017-09-14 13:15:28 -04:00
parent 6619670a25
commit b790154fdf
+1
View File
@@ -151,6 +151,7 @@ namespace TGServerService
AddEndpoint(I);
host.Credentials.ServiceCertificate.SetCertificate(StoreLocation.LocalMachine, StoreName.My, X509FindType.FindBySubjectName, Config.CertificateURL);
host.Credentials.UserNameAuthentication.IncludeWindowsGroups = true;
host.Open(); //...or maybe here, doesn't really matter
}