17 instantiations of NTAccount
Microsoft.Win32.Registry (3)
System\Security\AccessControl\RegistrySecurity.cs (3)
20: this(new NTAccount(identity), (int)registryRights, false, InheritanceFlags.None, PropagationFlags.None, type) 30: this(new NTAccount(identity), (int)registryRights, false, inheritanceFlags, propagationFlags, type) 70: this(new NTAccount(identity), (int)registryRights, false, inheritanceFlags, propagationFlags, flags)
System.IO.FileSystem.AccessControl (4)
System\Security\AccessControl\FileSystemAccessRule.cs (2)
33new NTAccount(identity), 69new NTAccount(identity),
System\Security\AccessControl\FileSystemAuditRule.cs (2)
44new NTAccount(identity), 59new NTAccount(identity),
System.Security.AccessControl (4)
System\Security\AccessControl\ObjectSecurityT.cs (4)
47new NTAccount(identity), 81new NTAccount(identity), 160new NTAccount(identity), 175new NTAccount(identity),
System.Security.Principal.Windows (2)
System\Security\Principal\SID.cs (1)
1057Result.Add(new NTAccount(domain, account));
System\Security\Principal\WindowsPrincipal.cs (1)
55NTAccount ntAccount = new NTAccount(role);
System.ServiceModel.Primitives (1)
System\IdentityModel\Claims\ClaimComparer.cs (1)
374NTAccount acct = new NTAccount(upn);
System.Threading.AccessControl (3)
System\Security\AccessControl\EventWaitHandleSecurity.cs (1)
52: this(new NTAccount(identity), (int)eventRights, false, InheritanceFlags.None, PropagationFlags.None, type)
System\Security\AccessControl\MutexSecurity.cs (1)
53: this(new NTAccount(identity), (int)eventRights, false, InheritanceFlags.None, PropagationFlags.None, type)
System\Security\AccessControl\SemaphoreSecurity.cs (1)
49: this(new NTAccount(identity), (int)eventRights, false, InheritanceFlags.None, PropagationFlags.None, type)
28 references to NTAccount
mscorlib (1)
src\runtime\src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
1051[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Principal.NTAccount))]
System.DirectoryServices (3)
System\DirectoryServices\ActiveDirectory\Utils.cs (3)
1957NTAccount ntLocalSystem = (NTAccount)sidLocalSystem.Translate(typeof(NTAccount));
System.IO.FileSystem.AccessControl (1)
System\Security\AccessControl\DirectoryObjectSecurity.cs (1)
32if (targetType == typeof(NTAccount))
System.Security.AccessControl (1)
System\Security\AccessControl\CommonObjectSecurity.cs (1)
41if (targetType == typeof(NTAccount))
System.Security.Principal.Windows (21)
System\Security\Principal\IRCollection.cs (4)
186else if (type == typeof(NTAccount)) 248else if (type == typeof(NTAccount)) 279TargetNTAccounts = NTAccount.Translate(SourceNTAccounts!, targetType, out someFailed); 341else if (type == typeof(NTAccount))
System\Security\Principal\NTAccount.cs (9)
87else if (targetType == typeof(NTAccount)) 101if (targetType == typeof(NTAccount)) 111irTarget = NTAccount.Translate(irSource, targetType, true); 123return (this == o as NTAccount); // invokes operator== 174public static bool operator ==(NTAccount? left, NTAccount? right) 193public static bool operator !=(NTAccount? left, NTAccount? right) 227if (!(id is NTAccount nta))
System\Security\Principal\SID.cs (3)
748if (targetType == typeof(NTAccount)) 814else if (targetType == typeof(NTAccount)) 1121if (targetType == typeof(NTAccount))
System\Security\Principal\WindowsIdentity.cs (3)
587NTAccount? ntAccount = User!.Translate(typeof(NTAccount)) as NTAccount;
System\Security\Principal\WindowsPrincipal.cs (2)
55NTAccount ntAccount = new NTAccount(role); 58IdentityReferenceCollection target = NTAccount.Translate(source, typeof(SecurityIdentifier), false);
System.ServiceModel.Primitives (1)
System\IdentityModel\Claims\ClaimComparer.cs (1)
374NTAccount acct = new NTAccount(upn);