22 references to IdentityType
System.DirectoryServices.AccountManagement (22)
System\DirectoryServices\AccountManagement\AuthZSet.cs (1)
358group = GroupPrincipal.FindByIdentity(ctx, IdentityType.Sid, sidObj.ToString());
System\DirectoryServices\AccountManagement\Computer.cs (1)
90public static new ComputerPrincipal FindByIdentity(PrincipalContext context, IdentityType identityType, string identityValue)
System\DirectoryServices\AccountManagement\Group.cs (1)
181public static new GroupPrincipal FindByIdentity(PrincipalContext context, IdentityType identityType, string identityValue)
System\DirectoryServices\AccountManagement\IdentityType.cs (6)
22{IdentityType.SamAccountName, IdentityTypeStringMap.SamAccount}, 23{IdentityType.Name, IdentityTypeStringMap.Name}, 24{IdentityType.UserPrincipalName, IdentityTypeStringMap.Upn}, 25{IdentityType.DistinguishedName, IdentityTypeStringMap.DistinguishedName}, 26{IdentityType.Sid, IdentityTypeStringMap.Sid}, 27{IdentityType.Guid, IdentityTypeStringMap.Guid}
System\DirectoryServices\AccountManagement\Principal.cs (7)
287public static Principal FindByIdentity(PrincipalContext context, IdentityType identityType, string identityValue) 554public bool IsMemberOf(PrincipalContext context, IdentityType identityType, string identityValue) 912protected static Principal FindByIdentityWithType(PrincipalContext context, Type principalType, IdentityType identityType, string identityValue) 920if ((identityType < IdentityType.SamAccountName) || (identityType > IdentityType.Guid)) 921throw new InvalidEnumArgumentException(nameof(identityType), (int)identityType, typeof(IdentityType)); 926private static Principal FindByIdentityWithTypeHelper(PrincipalContext context, Type principalType, Nullable<IdentityType> identityType, string identityValue, DateTime refDate)
System\DirectoryServices\AccountManagement\PrincipalCollection.cs (3)
287public void Add(PrincipalContext context, IdentityType identityType, string identityValue) 434public bool Remove(PrincipalContext context, IdentityType identityType, string identityValue) 583public bool Contains(PrincipalContext context, IdentityType identityType, string identityValue)
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx.cs (1)
696UserPrincipal u = UserPrincipal.FindByIdentity(this.OwningContext, IdentityType.Sid, Sid.ToString());
System\DirectoryServices\AccountManagement\User.cs (2)
205user = UserPrincipal.FindByIdentity(context, IdentityType.Sid, sidObj.ToString()); 259public static new UserPrincipal FindByIdentity(PrincipalContext context, IdentityType identityType, string identityValue)