PassportIdentity.HaveConsent(Boolean, Boolean) 方法

定義

表示這個使用者的設定檔中是否授與完全同意。 這個類別已被取代。

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

參數

bNeedFullConsent
Boolean

true 表示 Passport 驗證需要完全同意,否則為 false

bNeedBirthdate
Boolean

若要指示 Passport 驗證需要使用者的生日,則為 true,否則為 false

傳回

Boolean

如果授與這個使用者的設定檔完全同意,則為 true

備註

此類別已被取代,不再支援。 Microsoft Passport Network 已由 Windows Live ID 取代。

適用於