<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.moodle.org/310/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Andybak</id>
	<title>MoodleDocs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/310/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Andybak"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/310/en/Special:Contributions/Andybak"/>
	<updated>2026-04-21T15:49:49Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/310/en/index.php?title=Development_talk:Setting_up_Eclipse&amp;diff=18233</id>
		<title>Development talk:Setting up Eclipse</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/310/en/index.php?title=Development_talk:Setting_up_Eclipse&amp;diff=18233"/>
		<updated>2006-11-28T12:40:03Z</updated>

		<summary type="html">&lt;p&gt;Andybak: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Really nice work, Tim, thanks!   I&#039;ve been through and I&#039;m trying it out.    [[User:Martin Dougiamas|Martin Dougiamas]] 09:05, 5 September 2006 (CDT)&lt;br /&gt;
&lt;br /&gt;
The stuff about changing editors under General -&amp;gt; Editors -&amp;gt; File Associations doesn&#039;t work any more if an Eclipse plugin has &#039;locked&#039; a file type or content type. Not sure how to fix this&lt;br /&gt;
--[[User:Andy Baker|Andy Baker]] 06:40, 28 November 2006 (CST)&lt;/div&gt;</summary>
		<author><name>Andybak</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/310/en/index.php?title=Development:Authentication_API&amp;diff=18058</id>
		<title>Development:Authentication API</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/310/en/index.php?title=Development:Authentication_API&amp;diff=18058"/>
		<updated>2006-11-16T13:37:07Z</updated>

		<summary type="html">&lt;p&gt;Andybak: Formatting. Page Hierarchy still a little unclear.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Moodle authentication interface==&lt;br /&gt;
&lt;br /&gt;
Authentication API This file describes Moodle interface functions to authentication modules. (This page is incomplete , I&#039;ll update it after I have phpdoc commented auth/ldap/lib.php)&lt;br /&gt;
&lt;br /&gt;
Most of functions are from ldap-authentication module and are not implemented (yet?) on other modules. Please feel free to extend other modules to support same features or roll your own module.&lt;br /&gt;
&lt;br /&gt;
Some of new function are still tested and are not documented here yet.&lt;br /&gt;
&lt;br /&gt;
==Authentication functions==&lt;br /&gt;
&lt;br /&gt;
Basic functions to authenticate users with external db&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Mandatory:===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;auth_user_login ($username, $password)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Authenticate username, password with userdatabase.&lt;br /&gt;
&lt;br /&gt;
Returns: true if the username and password work and false if they don&#039;t&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Optional:===&lt;br /&gt;
&lt;br /&gt;
Following functions are optional , but if present they extends module usability with Moodle.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;auth_get_userinfo($username)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Query other userinformation from database.&lt;br /&gt;
&lt;br /&gt;
Returns:&lt;br /&gt;
&lt;br /&gt;
User information in array ( name =&amp;gt; value, .... or false in case of error Function honors update-flags so if&lt;br /&gt;
$CFG-&amp;gt;auth_user_(atribute)_updatelocal&lt;br /&gt;
is present, it will return value anly if flag is true.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===COURSE CREATING===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;auth_iscreator($username)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
should user have rights to create courses&lt;br /&gt;
&lt;br /&gt;
Returns: True if user has rights to create cources otherwise false&lt;br /&gt;
&lt;br /&gt;
===USER CREATION===&lt;br /&gt;
&lt;br /&gt;
Functions that enable user creation, activation and deactivation from moodle to external database&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;auth_user_exists ($username)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Checks if given username exists on external db&lt;br /&gt;
&lt;br /&gt;
Returns: true if given usernname exist or false&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;auth_user_create ($userobject,$plainpass)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Creates new user to external db. User should be created in inactive stage until confirmed by email.&lt;br /&gt;
&lt;br /&gt;
Returns: True on success otherwise false&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;auth_user_activate ($username)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
activate new user after email-address is confirmed&lt;br /&gt;
&lt;br /&gt;
Returns: True on success otherwise false&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;auth_user_disable ($username) {&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
deactivate user in external db.&lt;br /&gt;
&lt;br /&gt;
Returns: True on success otherwise false&lt;br /&gt;
&lt;br /&gt;
USER INFORMATION AND SYNCRONIZATION&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;auth_get_userlist ()&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Get list of usernames in external db.&lt;br /&gt;
&lt;br /&gt;
Returns: All usernames in array or false on error.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;auth_get_users($filter=&#039;*&#039;)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Get ALL USEROBJECTS FROM EXTERNAL DB.&lt;br /&gt;
&lt;br /&gt;
Returns: Array of all users as objects from external db &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Developer]]&lt;/div&gt;</summary>
		<author><name>Andybak</name></author>
	</entry>
</feed>