ClientFormsIdentity 建構函式

定義

初始化 ClientFormsIdentity 類別的新執行個體。

public:
 ClientFormsIdentity(System::String ^ name, System::String ^ password, System::Web::Security::MembershipProvider ^ provider, System::String ^ authenticationType, bool isAuthenticated, System::Net::CookieContainer ^ authenticationCookies);
public ClientFormsIdentity (string name, string password, System.Web.Security.MembershipProvider provider, string authenticationType, bool isAuthenticated, System.Net.CookieContainer authenticationCookies);
new System.Web.ClientServices.ClientFormsIdentity : string * string * System.Web.Security.MembershipProvider * string * bool * System.Net.CookieContainer -> System.Web.ClientServices.ClientFormsIdentity
Public Sub New (name As String, password As String, provider As MembershipProvider, authenticationType As String, isAuthenticated As Boolean, authenticationCookies As CookieContainer)

參數

name
String

已驗證使用者的名稱。

password
String

已驗證之使用者的密碼。

provider
MembershipProvider

用於驗證使用者的成員資格提供者。

authenticationType
String

所使用之驗證類型。

isAuthenticated
Boolean

如果使用者已經驗證,則為 true,否則為 false

authenticationCookies
CookieContainer

從驗證服務擷取的 Cookie。

適用於

另請參閱