You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							21 lines
						
					
					
						
							580 B
						
					
					
				
			
		
		
	
	
							21 lines
						
					
					
						
							580 B
						
					
					
				<?php
 | 
						|
/* For license terms, see /license.txt */
 | 
						|
 | 
						|
require __DIR__.'/../../../../main/inc/global.inc.php';
 | 
						|
 | 
						|
if (PHP_SAPI !== 'cli') {
 | 
						|
    exit('Run this script through the command line or comment this line in the code');
 | 
						|
}
 | 
						|
 | 
						|
// Uncomment to indicate the access url to get the plugin settings when using multi-url
 | 
						|
//$_configuration['access_url'] = 1;
 | 
						|
 | 
						|
$command = new AzureSyncUsersCommand();
 | 
						|
 | 
						|
try {
 | 
						|
    foreach ($command() as $str) {
 | 
						|
        printf("%d - %s".PHP_EOL, time(), $str);
 | 
						|
    }
 | 
						|
} catch (Exception $e) {
 | 
						|
    printf('%s - Exception: %s'.PHP_EOL, time(), $e->getMessage());
 | 
						|
}
 | 
						|
 |