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