This documentation is archived and is not being maintained.

Principal.GetUnderlyingObjectType Method

Returns the underlying object type.

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

public Type GetUnderlyingObjectType()

Return Value

Type: System.Type
The underlying object type. For AD DS, AD LDS, and SAM the type is DirectoryEntry.

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