ClientFormsIdentity(String, String, MembershipProvider, String, Boolean, CookieContainer) Constructor

Definición

Inicializa una nueva instancia de la clase ClientFormsIdentity.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)

Parámetros

name
String

Nombre del usuario autenticado.The name of the authenticated user.

password
String

Contraseña del usuario autenticado.The password of the authenticated user.

provider
MembershipProvider

Proveedor de pertenencia utilizado para autenticar al usuario.The membership provider used to authenticate the user.

authenticationType
String

Tipo de autenticación que se usa.The type of authentication that is used.

isAuthenticated
Boolean

Es true si el usuario está autenticado; en caso contrario, es false.true if the user has been authenticated; otherwise, false.

authenticationCookies
CookieContainer

Cookies recuperadas del servicio de autenticación.The cookies retrieved from the authentication service.

Se aplica a