Επεξεργασία

Κοινή χρήση μέσω


FormsIdentity.Name Property

Definition

Gets the user name of the forms identity.

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

Property Value

The user name of the forms identity.

Implements

Remarks

The Name property returns the value of the Name property from the FormsAuthenticationTicket supplied to the constructor.

Applies to

See also