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))); }
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))); }