FormsAuthenticationUserCollection.Add(FormsAuthenticationUser) Method
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.
Adds a FormsAuthenticationUser object to the collection.
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)
Parameters
The FormsAuthenticationUser object to add to the collection.
Exceptions
The FormsAuthenticationUser object already exists in the collection, or the collection is read-only.
Remarks
The collection must not contain a FormsAuthenticationUser object with the same name.
Applies to
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.