ClientFormsIdentity Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.