23 references to Access
Aspire.Cli.Tests (5)
Secrets\SecretStoreResolverTests.cs (5)
475var originalPermissions = file.GetAccessControl().GetSecurityDescriptorSddlForm(AccessControlSections.Access); 476var parentPermissions = workspace.WorkspaceRoot.GetAccessControl().GetSecurityDescriptorSddlForm(AccessControlSections.Access); 481Assert.Equal(originalPermissions, file.GetAccessControl().GetSecurityDescriptorSddlForm(AccessControlSections.Access)); 485Assert.Equal(originalPermissions, file.GetAccessControl().GetSecurityDescriptorSddlForm(AccessControlSections.Access)); 486Assert.Equal(parentPermissions, workspace.WorkspaceRoot.GetAccessControl().GetSecurityDescriptorSddlForm(AccessControlSections.Access));
Microsoft.Win32.Registry (2)
Microsoft\Win32\RegistryKey.cs (1)
592return GetAccessControl(AccessControlSections.Access | AccessControlSections.Owner | AccessControlSections.Group);
System\Security\AccessControl\RegistrySecurity.cs (1)
138persistRules = AccessControlSections.Access;
PresentationUI (1)
MS\Internal\Documents\Application\DocumentStream.cs (1)
533FileSecurity originalSecurity = originalInfo.GetAccessControl(AccessControlSections.Access);
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)
107persistRules = AccessControlSections.Access;
System.Security.AccessControl (5)
System\Security\AccessControl\NativeObjectSecurity.cs (1)
204if ((includeSections & AccessControlSections.Access) != 0 && _securityDescriptor.IsDiscretionaryAclPresent)
System\Security\AccessControl\ObjectSecurity.cs (1)
97if ((includeSections & AccessControlSections.Access) != 0)
System\Security\AccessControl\ObjectSecurityT.cs (1)
240persistRules = AccessControlSections.Access;
System\Security\AccessControl\SecurityDescriptor.cs (1)
173if ((includeSections & AccessControlSections.Access) != 0)
System\Security\AccessControl\Win32.cs (1)
82if ((accessControlSections & AccessControlSections.Access) != 0)
System.Threading.AccessControl (6)
System\Security\AccessControl\EventWaitHandleSecurity.cs (1)
162persistRules |= AccessControlSections.Access;
System\Security\AccessControl\MutexSecurity.cs (1)
156persistRules |= AccessControlSections.Access;
System\Security\AccessControl\SemaphoreSecurity.cs (1)
150persistRules |= AccessControlSections.Access;
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);