Principal.GetUnderlyingObject Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The underlying DirectoryEntry object.
- Attributes
Exceptions
The current principal has not been persisted and does not have an associated DirectoryEntry object.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.