通过


FormsIdentity.Name 属性

定义

获取表单标识的用户名。

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

属性值

表单标识的用户名。

实现

注解

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

适用于

另请参阅