ClientFormsIdentity Constructeur

Définition

Initialise une nouvelle instance de la classe 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)

Paramètres

name
String

Nom de l'utilisateur authentifié.

password
String

Le mot de passe de l'utilisateur authentifié.

provider
MembershipProvider

Fournisseur d'appartenances utilisé pour authentifier l'utilisateur.

authenticationType
String

Le type d'authentification utilisé.

isAuthenticated
Boolean

true si l'utilisateur a été authentifié ; sinon, false.

authenticationCookies
CookieContainer

Les cookies extraits du service d'authentification.

S’applique à

Voir aussi