PassportIdentity.HasProfile(String) Method

Definition

Indicates whether a given profile attribute exists in this user's profile. This class is deprecated.

public:
 bool HasProfile(System::String ^ strProfile);
public bool HasProfile(string strProfile);
member this.HasProfile : string -> bool
Public Function HasProfile (strProfile As String) As Boolean

Parameters

strProfile
String

The Passport profile attribute to query.

Returns

true if the profile attribute strProfile exists in this user's profile; otherwise, false.

Remarks

This class has been deprecated and is no longer supported. Microsoft Passport Network was replaced by Windows Live ID.

Applies to