FormsAuthenticationUserCollection.Add(FormsAuthenticationUser) Método

Definición

Agrega un FormsAuthenticationUser objeto a la colección.

public:
 void Add(System::Web::Configuration::FormsAuthenticationUser ^ user);
public void Add(System.Web.Configuration.FormsAuthenticationUser user);
member this.Add : System.Web.Configuration.FormsAuthenticationUser -> unit
Public Sub Add (user As FormsAuthenticationUser)

Parámetros

user
FormsAuthenticationUser

Objeto FormsAuthenticationUser que se va a agregar a la colección.

Excepciones

El FormsAuthenticationUser objeto ya existe en la colección o la colección es de solo lectura.

Comentarios

La colección no debe contener un FormsAuthenticationUser objeto con el mismo nombre.

Se aplica a