NTAccount.ToString Method ()


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

Returns the account name, in Domain\Account format, for the account represented by the NTAccount object.

Namespace:   System.Security.Principal
Assembly:  mscorlib (in mscorlib.dll)

public override string ToString()

Return Value

Type: System.String

The account name, in Domain\Account format.

.NET Framework
Available since 2.0
Return to top