24 references to Owner
aspire (1)
Utils\ConfigurationHelper.cs (1)
444? new FileInfo(destination).GetAccessControl(AccessControlSections.Access | AccessControlSections.Owner | AccessControlSections.Group)
Aspire.Cli.Tests (2)
Agents\AgentConfigurationTests.cs (2)
383Assert.Equal(before.GetSecurityDescriptorSddlForm(AccessControlSections.Access | AccessControlSections.Owner | AccessControlSections.Group), 384new FileInfo(path).GetAccessControl().GetSecurityDescriptorSddlForm(AccessControlSections.Access | AccessControlSections.Owner | AccessControlSections.Group));
dotnet-aot (1)
parent\dotnet\Installer\Windows\TrustedMachinePath.cs (1)
92Validate(new DirectoryInfo(path).GetAccessControl(AccessControlSections.Access | AccessControlSections.Owner), path);
Microsoft.DotNet.TemplateLocator (1)
src\sdk\src\Cli\dotnet\Installer\Windows\TrustedMachinePath.cs (1)
92Validate(new DirectoryInfo(path).GetAccessControl(AccessControlSections.Access | AccessControlSections.Owner), path);
Microsoft.NET.Build.Tasks (1)
src\sdk\src\Cli\dotnet\Installer\Windows\TrustedMachinePath.cs (1)
92Validate(new DirectoryInfo(path).GetAccessControl(AccessControlSections.Access | AccessControlSections.Owner), path);
Microsoft.NET.Sdk.WorkloadManifestReader (1)
src\sdk\src\Cli\dotnet\Installer\Windows\TrustedMachinePath.cs (1)
92Validate(new DirectoryInfo(path).GetAccessControl(AccessControlSections.Access | AccessControlSections.Owner), path);
Microsoft.Win32.Registry (2)
Microsoft\Win32\RegistryKey.cs (1)
592return GetAccessControl(AccessControlSections.Access | AccessControlSections.Owner | AccessControlSections.Group);
System\Security\AccessControl\RegistrySecurity.cs (1)
148persistRules |= AccessControlSections.Owner;
System.IO.FileSystem.AccessControl (4)
System\IO\FileSystemAclExtensions.cs (3)
17return new DirectorySecurity(directoryInfo.FullName, AccessControlSections.Access | AccessControlSections.Owner | AccessControlSections.Group); 39return GetAccessControl(fileInfo, AccessControlSections.Access | AccessControlSections.Owner | AccessControlSections.Group); 75return new FileSecurity(handle, AccessControlSections.Access | AccessControlSections.Owner | AccessControlSections.Group);
System\Security\AccessControl\FileSystemSecurity.cs (1)
111persistRules |= AccessControlSections.Owner;
System.Security.AccessControl (5)
System\Security\AccessControl\NativeObjectSecurity.cs (1)
168if ((includeSections & AccessControlSections.Owner) != 0 && _securityDescriptor.Owner != null)
System\Security\AccessControl\ObjectSecurity.cs (1)
70if ((includeSections & AccessControlSections.Owner) != 0)
System\Security\AccessControl\ObjectSecurityT.cs (1)
248persistRules |= AccessControlSections.Owner;
System\Security\AccessControl\SecurityDescriptor.cs (1)
158if ((includeSections & AccessControlSections.Owner) != 0)
System\Security\AccessControl\Win32.cs (1)
72if ((accessControlSections & AccessControlSections.Owner) != 0)
System.Threading.AccessControl (6)
System\Security\AccessControl\EventWaitHandleSecurity.cs (1)
166persistRules |= AccessControlSections.Owner;
System\Security\AccessControl\MutexSecurity.cs (1)
160persistRules |= AccessControlSections.Owner;
System\Security\AccessControl\SemaphoreSecurity.cs (1)
154persistRules |= AccessControlSections.Owner;
System\Threading\ThreadingAclExtensions.cs (3)
16return new EventWaitHandleSecurity(handle.GetSafeWaitHandle(), AccessControlSections.Access | AccessControlSections.Owner | AccessControlSections.Group); 28return new MutexSecurity(mutex.GetSafeWaitHandle(), AccessControlSections.Access | AccessControlSections.Owner | AccessControlSections.Group); 40return new SemaphoreSecurity(semaphore.GetSafeWaitHandle(), AccessControlSections.Access | AccessControlSections.Owner | AccessControlSections.Group);