语言

NTAccount.Value 属性

定义

返回此 NTAccount 对象的字符串表示形式。

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

属性值

此 NTAccount 对象的字符串表示形式。

注解

当Active Directory组名称从 SecurityIdentifierpre-Windows 2000 名称转换时,将返回name。 若要解析非内置/已知帐户 的名称 ,请使用 FindByIdentity 类型上的 GroupPrincipal 方法。 对于已知/内置帐户,无论操作系统正在运行哪个区域设置,此帐户都可以解析 en-US 区域设置中的名称。

适用于