The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Username

Discussion in 'General Discussion' started by Mark36ph, Jun 2, 2008.

  1. Mark36ph

    Mark36ph Active Member

    Joined:
    Jun 18, 2005
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Hello.
    I would like to know how WHM creates the username from the domain.
    I have made a script for my site that lets me automatically create the account with a click of a button, but I want to make it so the username gets created from the first 8 characters of the domain.

    Any clues of how to do this?

    thanks
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    You can use any username you desire when creating an account (via WHM or via a script). If you wish to automatically generate a username, that would be a function of your script rather than cPanel/WHM itself.
     
Loading...

Share This Page