Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IHostAuthenticationManager hostAuthenticationManager = _hostSystem.Client.GetView(_hostSystem.ConfigManager.AuthenticationManager, null);
- HostActiveDirectoryInfo activeDirectorySettings = hostAuthenticationManager.Info.AuthConfig.OfType<HostActiveDirectoryInfo>().FirstOrDefault();
- activeDirectorySettings.JoinedDomain // The name of the domain the hypervisor is connected to
Add Comment
Please, Sign In to add comment