Пример #1
0
        public IObservable <Win32Account> ElementAsync(Win32SID inSetting, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inSetting.AsCimInstance(), options);

            return(instances.Select(i => (Win32Account)scope.Mapper.Create(scope, i)));
        }
        public IObservable <Win32LogicalShareSecuritySetting> SecuritySettingAsync(Win32SID inTrustee, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inTrustee.AsCimInstance(), options);

            return(instances.Select(i => (Win32LogicalShareSecuritySetting)scope.Mapper.Create(scope, i)));
        }
        public IObservable <Win32LogicalFileSecuritySetting> SecuritySettingAsync(Win32SID inGroup, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTargetAsync(scope, inGroup.AsCimInstance(), options);

            return(instances.Select(i => (Win32LogicalFileSecuritySetting)scope.Mapper.Create(scope, i)));
        }
Пример #4
0
        public IEnumerable <Win32DCOMApplication> Element(Win32SID inSetting, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSource(scope, inSetting.AsCimInstance(), options);

            return(instances.Select(i => (Win32DCOMApplication)scope.Mapper.Create(scope, i)));
        }
        public IEnumerable <Win32LogicalFileSecuritySetting> SecuritySetting(Win32SID inOwner, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTarget(scope, inOwner.AsCimInstance(), options);

            return(instances.Select(i => (Win32LogicalFileSecuritySetting)scope.Mapper.Create(scope, i)));
        }