Principal.ToString Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns a user friendly string representation of the current principal object.

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

[SecurityCriticalAttribute]
public override string ToString()

Return Value

Type: System.String

A string representation of the current Principal object.

.NET Framework
Available since 3.5

System.DirectoryServices.AccountManagement
Principal Class
System.DirectoryServices.AccountManagement Namespace Overview

Return to top
Show: