Share via


PassportIdentity.Name Proprietà

Definizione

Ottiene il nome dell'utente corrente. Questa classe è deprecata.

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

Valore della proprietà

Nome dell'utente corrente, che corrisponde al PUID (Passport Unique Identifier).

Implementazioni

Esempio

// Declare new PassportIdendity object as variable newPass.
System.Web.Security.PassportIdentity newPass = new System.Web.Security.PassportIdentity();
// Set a string variable to the Passport member name from the cookie.
string sMemberName = newPass.Name;
' Declare new PassportIdendity object as variable newPass.
Dim newPass As System.Web.Security.PassportIdentity = New System.Web.Security.PassportIdentity()
' Set a string variable to the Passport member name from the cookie.
Dim sMemberName As String = newPass.Name

Commenti

Questa classe è stata deprecata e non è più supportata. Microsoft Passport Network è stato sostituito da Windows Live ID.

Si applica a