コード例 #1
0
        public IEnumerable <Win32SID> Trustee(Win32LogicalFileSecuritySetting inSecuritySetting, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveTarget(scope, inSecuritySetting.AsCimInstance(), options);

            return(instances.Select(i => (Win32SID)scope.Mapper.Create(scope, i)));
        }
コード例 #2
0
        public IObservable <Win32SID> GroupAsync(Win32LogicalFileSecuritySetting inSecuritySetting, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSourceAsync(scope, inSecuritySetting.AsCimInstance(), options);

            return(instances.Select(i => (Win32SID)scope.Mapper.Create(scope, i)));
        }
        public IEnumerable <CIMLogicalFile> Element(Win32LogicalFileSecuritySetting inSetting, CimOperationOptions options = null)
        {
            var scope     = _scope;
            var instances = _resolver.ResolveSource(scope, inSetting.AsCimInstance(), options);

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