dxider | 09. Máj. 2012, 18:27
Create new users
Hi, Im really new to Ilias but I need to have another method to creare users inside Ilias without having to ask an administrator for this but within another website.
The company CMS is hoste on DotNetNuke and I need to replicate the user creation when someone creates an account in DNN, the same data is created within Ilias. Ive already developed a solution to do the same but with Moodle, that was made because someone deployed a WebService to create the users.
The problem here resides in the fact I dont know the type of encryption needed by Ilias to store the password of the recently created account in DotNetNuke, I have all the structure needed to obtain this information within DNN, but then I need to replicate the user to Ilias.
Anyone has ever tried to create a username with a WebService or direct injection into the Ilias database?.
Thanks in advance for any kind of guidance you can provide me.
rdekoster | 16. Máj. 2012, 14:54
Re: Create new users
In your case the preferred way would be to invoke the importUsers() SOAP call. You can view the WSDL file with http://<your domain>/webservice/soap/server.php#WSDL for information.
The password can either be ILIAS2, ILIAS3 or PLAIN. ILIAS will MD5 hash the plain password before storing.
I assume the other 2 are for the specific versions. May be someone from ILIAS can clue you in on that.
There's a ilias_user_4_0.dtd (for the 4.0 version) file in the XML directory that declares the format of the user xml data to be sent to ILIAS with the importUser call.
We send the password as PLAIN via https. Reusing MD5 passwords from other systems is a no go.
Hope this helped you on your way.