Let the Market, the User in this case, decide. They enter a name that makes sense to them (easy to remember, for them, not you); either it's available or it's not. They keep trying until they get a match. If you 'generate' a name for them, you are ensuring that the name _will_ be written on a sticky note somewhere. ("I know it's some perversion of 'John Smith'; but is it jsmith, josmit, josmth, ...."). Personally, 'assigned user names' are right up there with automatically generated passwords. There are enough irritations in the Land of IT, don't add another one.

I once worked at a small Governmental Instution that assigned both User Name and Password as a random string of characters. We (the System and Security Admins) did a sweep one evening of the Managers Row, ostensibly to inventory and upgrade the network cabling. We found the passwords on Post-It notes in 10 of the 17 offices (I did say it was Government, remember). In five of the ten, both the name and password were on the Post-It.

At an other site, the naming policy was 'first three letters of your first name and first three letters of your last name'. That policy got changed the day after Fatime Hagadopian was hired.

Yes, you will have people giving themselves a cutsy-poo name. So? They are the ones who will have to live with 'iMaNid1ot'. Make sure that you have a reasonable password policy in place, enforce it, and don't worry about the User-IDs.

----
I Go Back to Sleep, Now.

OGB


In reply to Re: Autogenerating usernames by Old_Gray_Bear
in thread Autogenerating usernames by EvanCarroll

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.