2 types derived from IdentityReference
System.Security.Principal.Windows (2)
System\Security\Principal\NTAccount.cs (1)
14public sealed class NTAccount : IdentityReference
System\Security\Principal\SID.cs (1)
254public sealed class SecurityIdentifier : IdentityReference, IComparable<SecurityIdentifier>
150 references to IdentityReference
aspire (1)
Certificates\CertificateGeneration\WindowsCertificateManager.cs (1)
154var idRef = rule.IdentityReference;
dotnet-dev-certs (1)
src\aspnetcore\src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
153var idRef = rule.IdentityReference;
Microsoft.AspNetCore.DeveloperCertificates.XPlat (1)
src\aspnetcore\src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
153var idRef = rule.IdentityReference;
Microsoft.AspNetCore.Server.Kestrel.Core (1)
src\aspnetcore\src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
153var idRef = rule.IdentityReference;
Microsoft.Win32.Registry (7)
System\Security\AccessControl\RegistrySecurity.cs (7)
14public RegistryAccessRule(IdentityReference identity, RegistryRights registryRights, AccessControlType type) 24public RegistryAccessRule(IdentityReference identity, RegistryRights registryRights, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AccessControlType type) 39IdentityReference identity, 64public RegistryAuditRule(IdentityReference identity, RegistryRights registryRights, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags) 74internal RegistryAuditRule(IdentityReference identity, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags) 123public override AccessRule AccessRuleFactory(IdentityReference identityReference, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AccessControlType type) 128public override AuditRule AuditRuleFactory(IdentityReference identityReference, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags)
mscorlib (1)
src\runtime\src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
1047[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Principal.IdentityReference))]
RepoTasks (1)
src\aspnetcore\src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
153var idRef = rule.IdentityReference;
System.DirectoryServices (55)
System\DirectoryServices\ActiveDirectorySecurity.cs (55)
104public void RemoveAccess(IdentityReference identity, AccessControlType type) 153public override void PurgeAccessRules(IdentityReference identity) 186public void RemoveAudit(IdentityReference identity) 235public override void PurgeAuditRules(IdentityReference identity) 250IdentityReference identityReference, 269IdentityReference identityReference, 290IdentityReference identityReference, 309IdentityReference identityReference, 526IdentityReference identity, 543IdentityReference identity, 560IdentityReference identity, 577IdentityReference identity, 595IdentityReference identity, 613IdentityReference identity, 632IdentityReference identity, 674IdentityReference identity, 690IdentityReference identity, 706IdentityReference identity, 730IdentityReference identity, 745IdentityReference identity, 761IdentityReference identity, 777IdentityReference identity, 794IdentityReference identity, 811IdentityReference identity, AccessControlType type, 835IdentityReference identity, 850IdentityReference identity, 866IdentityReference identity, 882IdentityReference identity, 899IdentityReference identity, 916IdentityReference identity, AccessControlType type, 939IdentityReference identity, 955IdentityReference identity, 972IdentityReference identity, 989IdentityReference identity, 1007IdentityReference identity, 1025IdentityReference identity, 1051IdentityReference identity, 1068IdentityReference identity, 1085public PropertySetAccessRule(IdentityReference identity, 1111IdentityReference identity, 1126IdentityReference identity, 1142IdentityReference identity, 1158IdentityReference identity, 1175IdentityReference identity, 1191public ExtendedRightAccessRule(IdentityReference identity, 1216IdentityReference identity, 1231IdentityReference identity, 1247IdentityReference identity, 1271IdentityReference identity, 1288IdentityReference identity, 1305IdentityReference identity, 1322IdentityReference identity, 1340IdentityReference identity, 1358IdentityReference identity, 1377IdentityReference identity,
System.IO.FileSystem.AccessControl (11)
System\Security\AccessControl\DirectoryObjectSecurity.cs (3)
190IdentityReference iref = (targetType == typeof(SecurityIdentifier)) ? ace.SecurityIdentifier : irTarget![i]; 484public virtual AccessRule AccessRuleFactory(IdentityReference identityReference, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AccessControlType type, Guid objectType, Guid inheritedObjectType) 489public virtual AuditRule AuditRuleFactory(IdentityReference identityReference, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags, Guid objectType, Guid inheritedObjectType)
System\Security\AccessControl\FileSystemAccessRule.cs (3)
15IdentityReference identity, 47IdentityReference identity, 84IdentityReference identity,
System\Security\AccessControl\FileSystemAuditRule.cs (3)
11IdentityReference identity, 24IdentityReference identity, 69IdentityReference identity,
System\Security\AccessControl\FileSystemSecurity.cs (2)
70IdentityReference identityReference, 87IdentityReference identityReference,
System.Security.AccessControl (24)
System\Security\AccessControl\CommonObjectSecurity.cs (1)
138IdentityReference iref = (targetType == typeof(SecurityIdentifier)) ? ace.SecurityIdentifier : irTarget![targetIndex++];
System\Security\AccessControl\ObjectSecurity.cs (8)
336public IdentityReference? GetOwner(System.Type targetType) 355public void SetOwner(IdentityReference identity) 376public IdentityReference? GetGroup(System.Type targetType) 395public void SetGroup(IdentityReference identity) 412public virtual void PurgeAccessRules(IdentityReference identity) 429public virtual void PurgeAuditRules(IdentityReference identity) 690public abstract AccessRule AccessRuleFactory(IdentityReference identityReference, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AccessControlType type); 692public abstract AuditRule AuditRuleFactory(IdentityReference identityReference, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags);
System\Security\AccessControl\ObjectSecurityT.cs (8)
30IdentityReference identity, 60IdentityReference identity, 95IdentityReference identity, 127IdentityReference identity, 140IdentityReference identity, 185IdentityReference identity, 241IdentityReference identityReference, 258IdentityReference identityReference,
System\Security\AccessControl\Rules.cs (7)
23private readonly IdentityReference _identity; 34IdentityReference identity, 85public IdentityReference IdentityReference 125IdentityReference identity, 179protected ObjectAccessRule(IdentityReference identity, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, Guid objectType, Guid inheritedObjectType, AccessControlType type) 237IdentityReference identity, 282protected ObjectAuditRule(IdentityReference identity, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, Guid objectType, Guid inheritedObjectType, AuditFlags auditFlags)
System.Security.Principal.Windows (29)
System\Security\Principal\IdentityReference.cs (5)
17public abstract IdentityReference Translate(Type targetType); 25public static bool operator ==(IdentityReference? left, IdentityReference? right) 44public static bool operator !=(IdentityReference? left, IdentityReference? right)
System\Security\Principal\IRCollection.cs (18)
12public class IdentityReferenceCollection : ICollection<IdentityReference> 20private readonly List<IdentityReference> _identities; 41_identities = new List<IdentityReference>(capacity); 48public void CopyTo(IdentityReference[] array, int offset) 61bool ICollection<IdentityReference>.IsReadOnly 69public void Add(IdentityReference identity) 76public bool Remove(IdentityReference identity) 93public bool Contains(IdentityReference identity) 109public IEnumerator<IdentityReference> GetEnumerator() 118public IdentityReference this[int index] 132internal List<IdentityReference> Identities 153if (!targetType.IsSubclassOf(typeof(IdentityReference))) 236IdentityReference id = this[i]; 298foreach (IdentityReference id in TargetSids) 309foreach (IdentityReference id in TargetNTAccounts) 329IdentityReference id = this[i]; 362internal sealed class IdentityReferenceEnumerator : IEnumerator<IdentityReference>, IDisposable 403public IdentityReference Current
System\Security\Principal\NTAccount.cs (3)
97public override IdentityReference Translate(Type targetType) 144foreach (IdentityReference id in result) 225foreach (IdentityReference id in sourceAccounts)
System\Security\Principal\SID.cs (3)
806public override IdentityReference Translate(Type targetType) 963foreach (IdentityReference id in sourceSids) 1102foreach (IdentityReference id in result)
System.Threading.AccessControl (18)
System\Security\AccessControl\EventWaitHandleSecurity.cs (6)
46public EventWaitHandleAccessRule(IdentityReference identity, EventWaitHandleRights eventRights, AccessControlType type) 61IdentityReference identity, 86public EventWaitHandleAuditRule(IdentityReference identity, EventWaitHandleRights eventRights, AuditFlags flags) 98internal EventWaitHandleAuditRule(IdentityReference identity, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags) 148public override AccessRule AccessRuleFactory(IdentityReference identityReference, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AccessControlType type) 153public override AuditRule AuditRuleFactory(IdentityReference identityReference, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags)
System\Security\AccessControl\MutexSecurity.cs (6)
47public MutexAccessRule(IdentityReference identity, MutexRights eventRights, AccessControlType type) 62IdentityReference identity, 87public MutexAuditRule(IdentityReference identity, MutexRights eventRights, AuditFlags flags) 92internal MutexAuditRule(IdentityReference identity, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags) 142public override AccessRule AccessRuleFactory(IdentityReference identityReference, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AccessControlType type) 147public override AuditRule AuditRuleFactory(IdentityReference identityReference, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags)
System\Security\AccessControl\SemaphoreSecurity.cs (6)
43public SemaphoreAccessRule(IdentityReference identity, SemaphoreRights eventRights, AccessControlType type) 58IdentityReference identity, 82public SemaphoreAuditRule(IdentityReference identity, SemaphoreRights eventRights, AuditFlags flags) 87internal SemaphoreAuditRule(IdentityReference identity, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags) 136public override AccessRule AccessRuleFactory(IdentityReference identityReference, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AccessControlType type) 141public override AuditRule AuditRuleFactory(IdentityReference identityReference, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags)