Edit

Kongsi melalui


ClientFormsIdentity Constructor

Definition

Initializes a new instance of the ClientFormsIdentity class.

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)

Parameters

name
String

The name of the authenticated user.

password
String

The password of the authenticated user.

provider
MembershipProvider

The membership provider used to authenticate the user.

authenticationType
String

The type of authentication that is used.

isAuthenticated
Boolean

true if the user has been authenticated; otherwise, false.

authenticationCookies
CookieContainer

The cookies retrieved from the authentication service.

Applies to

See also