Principal.GetUnderlyingObject Method

Definition

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

public:
 System::Object ^ GetUnderlyingObject();
public object GetUnderlyingObject ();
[System.Security.SecurityCritical]
public object GetUnderlyingObject ();
member this.GetUnderlyingObject : unit -> obj
[<System.Security.SecurityCritical>]
member this.GetUnderlyingObject : unit -> obj
Public Function GetUnderlyingObject () As Object

Returns

Object

The underlying DirectoryEntry object.

Attributes

Exceptions

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

Applies to