AdvancedFilters AdvancedFilters AdvancedFilters AdvancedFilters Class

Definition

This class provides writable access to certain attributes so that users can modify read-only properties of the "dummy" principal object that is passed to a PrincipalSearcher object when using Query By Example.

public ref class AdvancedFilters
public class AdvancedFilters
type AdvancedFilters = class
Public Class AdvancedFilters
Inheritance
AdvancedFiltersAdvancedFiltersAdvancedFiltersAdvancedFilters

Examples

See the Query By Example topic for example code.

Remarks

The AdvancedFilters class is accessed from a UserPrincipal object through the AdvancedSearchFilter property, and is effectually treated like a property of the UserPrincipal object, and isn't intended to be used on its own.

Constructors

AdvancedFilters(Principal) AdvancedFilters(Principal) AdvancedFilters(Principal) AdvancedFilters(Principal)

Instantiates a new AdvancedFilters object. Not intended to be called directly.

Methods

AccountExpirationDate(DateTime, MatchType) AccountExpirationDate(DateTime, MatchType) AccountExpirationDate(DateTime, MatchType) AccountExpirationDate(DateTime, MatchType)

Sets the query filter for the AccountExpirationDate attribute to the specified time and comparison type.

AccountLockoutTime(DateTime, MatchType) AccountLockoutTime(DateTime, MatchType) AccountLockoutTime(DateTime, MatchType) AccountLockoutTime(DateTime, MatchType)

Sets the AccountLockoutTime query filter to the specified time and comparison type.

AdvancedFilterSet(String, Object, Type, MatchType) AdvancedFilterSet(String, Object, Type, MatchType) AdvancedFilterSet(String, Object, Type, MatchType) AdvancedFilterSet(String, Object, Type, MatchType)

Creates a query filter for a property in an extended class.

BadLogonCount(Int32, MatchType) BadLogonCount(Int32, MatchType) BadLogonCount(Int32, MatchType) BadLogonCount(Int32, MatchType)

Sets the query filter for the BadLogonCount attribute to the specified value and comparison type.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
LastBadPasswordAttempt(DateTime, MatchType) LastBadPasswordAttempt(DateTime, MatchType) LastBadPasswordAttempt(DateTime, MatchType) LastBadPasswordAttempt(DateTime, MatchType)

Sets the query filter for the LastBadPasswordAttempt attribute to the specified DateTime and the specified comparison value.

LastLogonTime(DateTime, MatchType) LastLogonTime(DateTime, MatchType) LastLogonTime(DateTime, MatchType) LastLogonTime(DateTime, MatchType)

Sets the query filter for the LastLogon attribute to the specified DateTime and the specified comparison value.

LastPasswordSetTime(DateTime, MatchType) LastPasswordSetTime(DateTime, MatchType) LastPasswordSetTime(DateTime, MatchType) LastPasswordSetTime(DateTime, MatchType)

Sets the query filter for the LastPasswordSet attribute to the specified DateTime and the specified comparison value.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also