System.Web.Security.PassportIdentity.HaveConsent Method

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

Syntax

public bool HaveConsent (bool bNeedFullConsent, bool bNeedBirthdate)

Parameters

bNeedFullConsent
true to indicate full consent is required for Passport Authentication; otherwise, false.
bNeedBirthdate
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 tp://go.microsoft.com/fwlink/?LinkId=106346.

Requirements

Namespace: System.Web.Security
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0