Checking whether a user already exists in drupal.
Posted
by simonr
on Stack Overflow
See other posts from Stack Overflow
or by simonr
Published on 2010-05-10T14:32:55Z
Indexed on
2010/05/10
15:24 UTC
Read the original article
Hit count: 161
Hello,
When a user enters his login information and hits submit, i want to check if the user already exists or not. So, i have the following two questions 1. Which hook is needed to be implemented , for the case when user hits the submit button on the login form. I need the username entered by the user. 2. How to check if a user already exists in drupal or not programmatically ?
Some sample code would be really appreciated. Please help.
Thank You.
© Stack Overflow or respective owner