Next Tutorial
Drupal 7 Tutorial Part 16: Drupal 7 Reports & Logs Explained
How To Login User Programatically In Drupal 6
Hi,
If you are looking to automatically login Drupal user progrmatically here is the code for you.
$account = user_load($uid);
user_external_login($account);
Cheers,
Anil Sagar
©2010 AnilSagar. All rights reserved. Drupal theme by Kiwi Themes.

0 comments
Post new comment