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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.