संपादित करें

इसके माध्यम से साझा किया गया


NTAccount.Value Property

Definition

Returns a string representation of this NTAccount object.

public:
 virtual property System::String ^ Value { System::String ^ get(); };
public override string Value { get; }
member this.Value : string
Public Overrides ReadOnly Property Value As String

Property Value

The string representation of this NTAccount object.

Remarks

When an Active Directory group name is translated from an SecurityIdentifier the pre-Windows 2000 name, which differs (for non builtin/wellknown accounts) from the name, is returned. To resolve the name for non built-in/well-known accounts use the FindByIdentity method on the GroupPrincipal type. For well-known/built-in accounts this resolves the name in en-US locale no matter which locale the operating system is running.

Applies to