Bewerken

Delen via


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 was replaced by Windows Live ID.

Applies to