AdvancedFilters 类

定义

此类提供对某些属性的可写访问,以便用户能够在使用按示例查询时,修改传递给 PrincipalSearcher 对象的“虚拟”主体对象的只读属性。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
继承
AdvancedFilters

示例

有关代码示例, 请参阅查询示例主题。See the Query By Example topic for example code.

注解

通过AdvancedFilters UserPrincipal UserPrincipal属性从对象访问类, effectually 将其视为对象的一个属性, 而不能单独使用。 AdvancedSearchFilterThe 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.

构造函数

AdvancedFilters(Principal)

实例化一个新的 AdvancedFilters 对象。Instantiates a new AdvancedFilters object. 请不要直接调用。Not intended to be called directly.

方法

AccountExpirationDate(DateTime, MatchType)

AccountExpirationDate 属性的查询筛选器设置为指定的时间和比较类型。Sets the query filter for the AccountExpirationDate attribute to the specified time and comparison type.

AccountLockoutTime(DateTime, MatchType)

AccountLockoutTime 查询筛选器设置为指定的时间和比较类型。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)

BadLogonCount 属性的查询筛选器设置为指定的值和比较类型。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.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
LastBadPasswordAttempt(DateTime, MatchType)

LastBadPasswordAttempt 属性的查询筛选器设置为指定的 DateTime 和指定的比较值。Sets the query filter for the LastBadPasswordAttempt attribute to the specified DateTime and the specified comparison value.

LastLogonTime(DateTime, MatchType)

LastLogon 属性的查询筛选器设置为指定的 DateTime 和指定的比较值。Sets the query filter for the LastLogon attribute to the specified DateTime and the specified comparison value.

LastPasswordSetTime(DateTime, MatchType)

LastPasswordSet 属性的查询筛选器设置为指定的 DateTime 和指定的比较值。Sets the query filter for the LastPasswordSet attribute to the specified DateTime and the specified comparison value.

MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于

另请参阅