示例#1
0
 public int CreateUserWizard(int parentPackageId, string username, string password,
                             int roleId, string firstName, string lastName, string email, string secondaryEmail, bool htmlMail,
                             bool sendAccountLetter,
                             bool createPackage, int planId, bool sendPackageLetter,
                             string domainName, bool tempDomain, bool createWebSite,
                             bool createFtpAccount, string ftpAccountName, bool createMailAccount)
 {
     return(UserCreationWizard.CreateUserAccount(parentPackageId, username, password,
                                                 roleId, firstName, lastName, email, secondaryEmail, htmlMail, sendAccountLetter,
                                                 createPackage, planId,
                                                 sendPackageLetter, domainName, tempDomain, createWebSite, createFtpAccount, ftpAccountName,
                                                 createMailAccount));
 }
        public static int CreateUserAccount(int parentPackageId, string username, string password,
            int roleId, string firstName, string lastName, string email, string secondaryEmail, bool htmlMail,
            bool sendAccountLetter,
            bool createPackage, int planId, bool sendPackageLetter,
            string domainName, bool tempDomain, bool createWebSite,
            bool createFtpAccount, string ftpAccountName, bool createMailAccount)
        {
            UserCreationWizard wizard = new UserCreationWizard();

            return wizard.CreateUserAccountInternal(parentPackageId, username, password,
                roleId, firstName, lastName, email, secondaryEmail, htmlMail,
                sendAccountLetter,
                createPackage, planId, sendPackageLetter,
                domainName, tempDomain, createWebSite,
                createFtpAccount, ftpAccountName, createMailAccount);
        }