Share via


PassportIdentity.Name Vlastnost

Definice

Získá jméno aktuálního uživatele. Tato třída je zastaralá.

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

Hodnota vlastnosti

Jméno aktuálního uživatele, což je identifikátor PUID (Passport Unique Identifier).

Implementuje

Příklady

// 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

Poznámky

Tato třída je zastaralá a již není podporována. Microsoft Passport Network byl nahrazen službou Windows Live ID.

Platí pro