[support] Forcing username pattern

Dan Karran dan at karran.net
Thu Mar 13 10:37:21 UTC 2008


On Thu, Mar 13, 2008 at 10:33 AM, Dan Karran <dan at karran.net> wrote:

> There is code in the LDAP Provisioning module[1] which you could use to do
> this, though the whole module is only really useful if you're going to be
> tying into LDAP for authentication. Perhaps the user name assigning part
> could be extracted out?
>

[1] http://drupal.org/project/ldap_provisioning


>
>
> Cheers,
> Dan
>
>
> On Thu, Mar 13, 2008 at 8:59 AM, Larry Garfield <larry at garfieldtech.com>
> wrote:
>
> > Hi folks.  I've a question that's come up on a number of my sites now.
> >  I'd
> > like to be able to disallow users from selecting their own usernames,
> > ever,
> > even on signup.  Instead, I want to expose various profile fields (or
> > custom
> > fields via form-alter if necessary) and then base the username off of
> > that.
> > E.g., first intial and last name, all lower-case.  Does anyone know of
> > an
> > existing module or mechanism for that, or a common pattern that could be
> > turned into a module?
> >
> > --
> > Larry Garfield                  AIM: LOLG42
> > larry at garfieldtech.com          ICQ: 6817012
> >
> > "If nature has made any one thing less susceptible than all others of
> > exclusive property, it is the action of the thinking power called an
> > idea,
> > which an individual may exclusively possess as long as he keeps it to
> > himself; but the moment it is divulged, it forces itself into the
> > possession
> > of every one, and the receiver cannot dispossess himself of it."  --
> > Thomas
> > Jefferson
> > --
> > [ Drupal support list | http://lists.drupal.org/ ]
> >
>
>
>
> --
> Dan Karran
> dan at karran.net
> www.dankarran.com




-- 
Dan Karran
dan at karran.net
www.dankarran.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20080313/53bc679f/attachment.htm 


More information about the support mailing list