Ejemplo n.º 1
0
        public static string CreateUserAndAccount(string userName, string password, object propertyValues = null, bool requireConfirmationToken = false)
        {
            MySqlSimpleMembershipProvider provider = VerifyProvider();

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

            IDictionary <string, object> values = null;

            if (propertyValues != null)
            {
                values = new Dictionary <string, object>(propertyValues as IDictionary <string, object>);
            }

            return(provider.CreateUserAndAccount(userName, password, requireConfirmationToken, values));
        }