103 references to MatchType
System.DirectoryServices.AccountManagement (103)
System\DirectoryServices\AccountManagement\AD\ADStoreCtx.cs (14)
993DateTime dt, MatchType matchType, Type principalType) 999DateTime dt, MatchType matchType, Type principalType) 1005DateTime dt, MatchType matchType, Type principalType) 1011DateTime dt, MatchType matchType, Type principalType) 1017DateTime dt, MatchType matchType, Type principalType) 1022private ADEntriesSet FindByDate(Type subtype, string[] ldapAttributes, MatchType matchType, DateTime value) 1052case MatchType.Equals: 1058case MatchType.NotEquals: 1066case MatchType.GreaterThanOrEquals: 1072case MatchType.LessThanOrEquals: 1078case MatchType.GreaterThan: 1084ldapFilter.Append(matchType == MatchType.GreaterThan ? ">=" : "<="); 1101case MatchType.LessThan: 1102goto case MatchType.GreaterThan;
System\DirectoryServices\AccountManagement\AD\ADStoreCtx_Query.cs (22)
774public static string DateTimeFilterBuilder(string attributeName, DateTime searchValue, DateTime defaultValue, bool requirePresence, MatchType mt) 785if (mt != MatchType.Equals && mt != MatchType.NotEquals) 790if (defaultNeeded || (mt == MatchType.NotEquals && requirePresence)) 797case MatchType.Equals: 803case MatchType.NotEquals: 811case MatchType.GreaterThanOrEquals: 817case MatchType.LessThanOrEquals: 823case MatchType.GreaterThan: 829ldapFilter.Append(mt == MatchType.GreaterThan ? ">=" : "<="); 846case MatchType.LessThan: 847goto case MatchType.GreaterThan; 863if (mt == MatchType.NotEquals && requirePresence) 877public static string ExtensionTypeConverter(string attributeName, Type type, object value, MatchType mt) 910case MatchType.Equals: 916case MatchType.NotEquals: 924case MatchType.GreaterThanOrEquals: 930case MatchType.LessThanOrEquals: 936case MatchType.GreaterThan: 942ldapFilter.Append(mt == MatchType.GreaterThan ? ">=" : "<="); 959case MatchType.LessThan: 960goto case MatchType.GreaterThan;
System\DirectoryServices\AccountManagement\AD\QBEMatchType.cs (3)
11private MatchType _matchType; 13internal QbeMatchType(object value, MatchType matchType) 31internal MatchType Match
System\DirectoryServices\AccountManagement\AdvancedFilters.cs (7)
25public void LastBadPasswordAttempt(DateTime lastAttempt, MatchType match) 42public void AccountExpirationDate(DateTime expirationTime, MatchType match) 59public void AccountLockoutTime(DateTime lockoutTime, MatchType match) 76public void BadLogonCount(int badLogonCount, MatchType match) 93public void LastLogonTime(DateTime logonTime, MatchType match) 110public void LastPasswordSetTime(DateTime passwordSetTime, MatchType match) 124protected void AdvancedFilterSet(string attribute, object value, Type objectType, MatchType mt)
System\DirectoryServices\AccountManagement\AuthenticablePrincipal.cs (11)
264public static PrincipalSearchResult<AuthenticablePrincipal> FindByLockoutTime(PrincipalContext context, DateTime time, MatchType type) 269public static PrincipalSearchResult<AuthenticablePrincipal> FindByLogonTime(PrincipalContext context, DateTime time, MatchType type) 274public static PrincipalSearchResult<AuthenticablePrincipal> FindByExpirationTime(PrincipalContext context, DateTime time, MatchType type) 279public static PrincipalSearchResult<AuthenticablePrincipal> FindByBadPasswordAttempt(PrincipalContext context, DateTime time, MatchType type) 284public static PrincipalSearchResult<AuthenticablePrincipal> FindByPasswordSetTime(PrincipalContext context, DateTime time, MatchType type) 293protected static PrincipalSearchResult<T> FindByLockoutTime<T>(PrincipalContext context, DateTime time, MatchType type) 299protected static PrincipalSearchResult<T> FindByLogonTime<T>(PrincipalContext context, DateTime time, MatchType type) 305protected static PrincipalSearchResult<T> FindByExpirationTime<T>(PrincipalContext context, DateTime time, MatchType type) 311protected static PrincipalSearchResult<T> FindByBadPasswordAttempt<T>(PrincipalContext context, DateTime time, MatchType type) 317protected static PrincipalSearchResult<T> FindByPasswordSetTime<T>(PrincipalContext context, DateTime time, MatchType type) 360private static void CheckFindByArgs(PrincipalContext context, DateTime time, MatchType type, Type subtype)
System\DirectoryServices\AccountManagement\Computer.cs (5)
60public static new PrincipalSearchResult<ComputerPrincipal> FindByLockoutTime(PrincipalContext context, DateTime time, MatchType type) 65public static new PrincipalSearchResult<ComputerPrincipal> FindByLogonTime(PrincipalContext context, DateTime time, MatchType type) 70public static new PrincipalSearchResult<ComputerPrincipal> FindByExpirationTime(PrincipalContext context, DateTime time, MatchType type) 75public static new PrincipalSearchResult<ComputerPrincipal> FindByBadPasswordAttempt(PrincipalContext context, DateTime time, MatchType type) 80public static new PrincipalSearchResult<ComputerPrincipal> FindByPasswordSetTime(PrincipalContext context, DateTime time, MatchType type)
System\DirectoryServices\AccountManagement\ExtensionCache.cs (3)
19internal ExtensionCacheValue(object[] value, Type type, MatchType matchType) 39internal MatchType MatchType 47private readonly MatchType _matchType;
System\DirectoryServices\AccountManagement\Principal.cs (1)
708internal void AdvancedFilterSet(string attribute, object value, Type objectType, MatchType mt)
System\DirectoryServices\AccountManagement\SAM\SAMQuerySet.cs (21)
393MatchType.Equals => comparisonResult == 0, 394MatchType.NotEquals => comparisonResult != 0, 395MatchType.GreaterThan => comparisonResult > 0, 396MatchType.GreaterThanOrEquals => comparisonResult >= 0, 397MatchType.LessThan => comparisonResult < 0, 398MatchType.LessThanOrEquals => comparisonResult <= 0, 456MatchType.Equals => (value == comparisonValue), 457MatchType.NotEquals => (value != comparisonValue), 458MatchType.GreaterThan => (value > comparisonValue), 459MatchType.GreaterThanOrEquals => (value >= comparisonValue), 460MatchType.LessThan => (value < comparisonValue), 461MatchType.LessThanOrEquals => (value <= comparisonValue), 676private readonly MatchType _matchType; 679internal FindByDateMatcher(DateProperty property, MatchType matchType, DateTime value) 772return (_matchType == MatchType.NotEquals) ? true : false; 779case MatchType.Equals: 782case MatchType.NotEquals: 785case MatchType.GreaterThan: 788case MatchType.GreaterThanOrEquals: 791case MatchType.LessThan: 794case MatchType.LessThanOrEquals:
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx.cs (6)
546DateTime dt, MatchType matchType, Type principalType) 552DateTime dt, MatchType matchType, Type principalType) 558DateTime dt, MatchType matchType, Type principalType) 564DateTime dt, MatchType matchType, Type principalType) 570DateTime dt, MatchType matchType, Type principalType) 577MatchType matchType,
System\DirectoryServices\AccountManagement\StoreCtx.cs (5)
124DateTime dt, MatchType matchType, Type principalType); 126DateTime dt, MatchType matchType, Type principalType); 128DateTime dt, MatchType matchType, Type principalType); 130DateTime dt, MatchType matchType, Type principalType); 132DateTime dt, MatchType matchType, Type principalType);
System\DirectoryServices\AccountManagement\User.cs (5)
229public static new PrincipalSearchResult<UserPrincipal> FindByLockoutTime(PrincipalContext context, DateTime time, MatchType type) 234public static new PrincipalSearchResult<UserPrincipal> FindByLogonTime(PrincipalContext context, DateTime time, MatchType type) 239public static new PrincipalSearchResult<UserPrincipal> FindByExpirationTime(PrincipalContext context, DateTime time, MatchType type) 244public static new PrincipalSearchResult<UserPrincipal> FindByBadPasswordAttempt(PrincipalContext context, DateTime time, MatchType type) 249public static new PrincipalSearchResult<UserPrincipal> FindByPasswordSetTime(PrincipalContext context, DateTime time, MatchType type)