GetUnderlyingObject Method

Principal.GetUnderlyingObject Method ()


Returns the underlying DirectoryEntry object that provides the contact data for the principal object.

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

member GetUnderlyingObject : unit -> Object

Return Value

Type: System.Object

The underlying DirectoryEntry object.

Exception Condition

The current principal has not been persisted and does not have an associated DirectoryEntry object.

.NET Framework
Available since 3.5

Principal Class
System.DirectoryServices.AccountManagement Namespace Overview

Return to top
© 2016 Microsoft