Editar

Partilhar via


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
AdvancedFilters

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)

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

Methods

AccountExpirationDate(DateTime, MatchType)

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

AccountLockoutTime(DateTime, MatchType)

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

AdvancedFilterSet(String, Object, Type, MatchType)

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

BadLogonCount(Int32, MatchType)

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

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
LastBadPasswordAttempt(DateTime, MatchType)

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

LastLogonTime(DateTime, MatchType)

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

LastPasswordSetTime(DateTime, MatchType)

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

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also