Jump to content

How to modify username in a Server Provisioning Module?

Recommended Posts



I'm writing a server provisioning module ( http://developers.whmcs.com/provisioning-modules/ )


In running CreateAccount function, I need to modify somehow the default username created by WHMCS for the service (this because it's the server itself that, during account creation, create his own username).

That's to say:


- customer order the service

- WHMCS create a default, random username and a random password

- calling CreateAccount, the service is created on the server, and the server itself create username and password for the service

- to update the password, i can use the ChangePassword function


But... how to change username too?!?! :?:

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.


Important Information

By using this site, you agree to our Terms of Use & Guidelines