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。

适用于

另请参阅