This documentation is archived and is not being maintained.

PassportIdentity.HaveConsent Method

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

[Visual Basic]
Public Function HaveConsent( _
   ByVal bNeedFullConsent As Boolean, _
   ByVal bNeedBirthdate As Boolean _
) As Boolean
[C#]
public bool HaveConsent(
 bool bNeedFullConsent,
 bool bNeedBirthdate
);
[C++]
public: bool HaveConsent(
 bool bNeedFullConsent,
 bool bNeedBirthdate
);
[JScript]
public function HaveConsent(
   bNeedFullConsent : Boolean,
 bNeedBirthdate : Boolean
) : Boolean;

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.

Return Value

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

Remarks

For more information, see the Passport SDK documentation in the MSDN Library at http://msdn.microsoft.com/library .

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

PassportIdentity Class | PassportIdentity Members | System.Web.Security Namespace

Show: