This documentation is archived and is not being maintained.

AdvancedFilters Class

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

Namespace:  System.DirectoryServices.AccountManagement
Assembly:  System.DirectoryServices.AccountManagement (in System.DirectoryServices.AccountManagement.dll)

'Declaration
<DirectoryServicesPermissionAttribute(SecurityAction.LinkDemand, Unrestricted := True)> _
<DirectoryServicesPermissionAttribute(SecurityAction.InheritanceDemand, Unrestricted := True)> _
Public Class AdvancedFilters
'Usage
Dim instance As AdvancedFilters

The T:System.DirectoryServices.AccountManagement.AdvancedFilters class is accessed from a UserPrincipal object through the AdvancedSearchFilters method, and is effectually treated like a property of the UserPrincipal object, and isn't intended to be used on its own.

See the Query By Example topic for example code.

System.Object
  System.DirectoryServices.AccountManagement.AdvancedFilters

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5
Show: