FormsIdentity.Name 属性

定义

获取 Forms 标识的用户名。

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

属性值

Forms 标识的用户名。

实现

注解

属性 Name 从提供给构造函数的 NameFormsAuthenticationTicket 返回 属性的值。

适用于

另请参阅