PassportIdentity.HaveConsent(Boolean, Boolean) Method

Definition

Indicates whether full consent is granted in this user's profile. This class is deprecated.

public:
 bool HaveConsent(bool bNeedFullConsent, bool bNeedBirthdate);
public bool HaveConsent (bool bNeedFullConsent, bool bNeedBirthdate);
member this.HaveConsent : bool * bool -> bool
Public Function HaveConsent (bNeedFullConsent As Boolean, bNeedBirthdate As Boolean) As Boolean

Parameters

bNeedFullConsent
Boolean

true to indicate full consent is required for Passport Authentication; otherwise, false.

bNeedBirthdate
Boolean

true to indicate the user's birthdate is required for Passport Authentication; otherwise, false.

Returns

true if full consent is granted in this user's profile.

Remarks

This class has been deprecated and is no longer supported. Microsoft Passport Network has been replaced by Windows Live ID. For more information about how to use Windows Live ID to authenticate users in a Web application, see Windows Live ID SDK.

Applies to