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