HaveConsent Method

PassportIdentity.HaveConsent Method (Boolean, Boolean)

 

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

Namespace:   System.Web.Security
Assembly:  System.Web (in System.Web.dll)

public bool HaveConsent(
	bool bNeedFullConsent,
	bool bNeedBirthdate
)

Parameters

bNeedFullConsent
Type: System.Boolean

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

bNeedBirthdate
Type: System.Boolean

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

Return Value

Type: System.Boolean

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

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.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft