语言

DirectoryContext.UserName 属性

定义

获取上下文的用户名。

public:
 property System::String ^ UserName { System::String ^ get(); };
public string? UserName { get; }
public string UserName { get; }
member this.UserName : string
Public ReadOnly Property UserName As String

属性值

用于此上下文访问的用户名。

适用于