Principal.GetUnderlyingObject Principal.GetUnderlyingObject Principal.GetUnderlyingObject Principal.GetUnderlyingObject Method

Definition

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

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

Returns

The underlying DirectoryEntry object.

Exceptions

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

Applies to