예제 #1
0
        protected override void ConfigureObjectCollector()
        {
            if (ObjectCollector == null)
            {
                var wmiScope = ((FileConnectionProvider)ConnectionProvider).ConnectionScope;
                var accountProvider = new WindowsUsersProvider(new WmiDataProvider(wmiScope), this.TargetInfo);

                ItemTypeGenerator = new UserSID55ItemTypeGenerator(accountProvider);
                ObjectCollector = new UserSID55ObjectCollector(accountProvider);
            }
        }
예제 #2
0
        protected override void ConfigureObjectCollector()
        {
            if (base.ItemTypeGenerator == null)
            {
                var wmiScope        = ((FileConnectionProvider)ConnectionProvider).ConnectionScope;
                var accountProvider = new WindowsUsersProvider(new WmiDataProvider(wmiScope), this.TargetInfo);

                ItemTypeGenerator = new UserSID55ItemTypeGenerator(accountProvider);
                ObjectCollector   = new UserSID55ObjectCollector(accountProvider);
            }
        }