Skip to content

Instantly share code, notes, and snippets.

Avatar

Matt Brooks mbrooks

View GitHub Profile
View import_saml_drupal_users.php
<?php
/**
* Import Drupal Users to Drupal SAML Users
* Works with the SimpleSAMLphp Auth Drupal Module
* By: Matt Brooks
* Email: matt@msbrooks.com
*/
function import_saml_users(){
$result = db_query("SELECT * FROM {users}");