/// <summary>
        /// Returns the date and time when the specified membership account was created.
        /// </summary>
        /// <param name="userName">The user name for the membership account.</param>
        /// <returns>The date and time that the membership account was created, or <see cref="System.DateTime.MinValue"/> if the account creation date is not available.</returns>
        /// <exception cref="System.InvalidOperationException">
        /// The <seealso cref="Initialized"/> method was not called.-or-
        /// The <seealso cref="InitializeDatabaseConnection(string)"/> method was not called.-or-
        /// The <seealso cref="MySqlSimpleMembershipProvider"/> membership provider is not registered in the configuration of your site.
        /// For more information, contact your site's system administrator.
        /// </exception>
        public static DateTime GetCreateDate(string userName)
        {
            MySqlSimpleMembershipProvider provider = VerifyProvider();

            Debug.Assert(provider != null);             // VerifyProvider checks this

            return(provider.GetCreateDate(userName));
        }