Пример #1
0
        public override bool DeleteUser(string username, bool deleteAllRelatedData)
        {
            bool flag = false;

            try
            {
                SystemUserWrapper.DeleteUser(username, deleteAllRelatedData);
                flag = true;
            }
            catch (Exception exception)
            {
                throw NhibernateMembershipProviderExceptionUtil.NewProviderException(this,
                                                                                     NHibernateProviderSR.
                                                                                     User_UnableToDelete,
                                                                                     exception);
            }
            return(flag);
        }