ILIAS login functionILIAS logout functionILIAS lookupUser(): check if username exists. Return usr_id or 0 if lookup fails.ILIAS addCourse(). Course import. See ilias_course_0_1.dtd for details about course xml structureILIAS deleteCourse(). Deletes a course. Delete courses are stored in "Trash" and can be undeleted in the ILIAS administration. ILIAS startBackgroundTaskWorker().ILIAS assignCourseMember(). Assigns an user to an existing course. Type should be "Admin", "Tutor" or "Member"ILIAS excludeCourseMember(). Excludes an user from an existing course.ILIAS isAssignedToCourse(). Checks whether an user is assigned to a given course. Returns 0 => not assigned, 1 => course admin, 2 => course member or 3 => course tutorILIAS getCourseXML(). Get a xml description of a specific course.ILIAS updateCourse(). Update course settings, assigned members, tutors, administrators with a given xml descriptionILIAS getObjIdByImportId(). Get the obj_id of an ILIAS obj by a given import id.ILIAS getRefIdsByImportId(). Get all reference ids by a given import id.ILIAS getRefIdsByObjId(). Get all reference ids by a given object id.ILIAS getObjectByReference(). Get XML-description of an ILIAS object. If a user id is given, this methods also checks the permissions of that user on the object.ILIAS getObjectsByTitle(). Get XML-description of an ILIAS object with given title. If a user id is given this method also checks the permissions of that user on the object.ILIAS searchObjects(): Searches for objects. Key is within "title" or "description" Typical calls are searchObject($sid,array("lm","crs"),"\"this and that\"","and"); If an optional user id is given, this methods also return the permissions for that user on the found objectsILIAS getTreeChilds(): Get all child objects of a given object.Choose array of types to filter the output. Choose empty type array to receive all object typesILIAS getXMLTree(): Returns a xml stream with the subtree objects.ILIAS addObject. Create new object based on xml description under a given node ("category,course,group or folder). Return created reference id of the new object.ILIAS updateObjects. Update object data (title,description,owner)ILIAS addReference. Create new link of given object to new object. Return the new reference idILIAS deleteObject. Stores object in trash. If multiple references exist, only the reference is deleted ILIAS removeFromSystemByImportId(). Removes an object identified by its import id permanently from the system. All data will be deleted. There will be no possibility to restore it from the trash. Do not use this function for deleting roles or users. Use deleteUser() or deleteRole() instead.ILIAS addUserRoleEntry. Assign user to role.ILIAS deleteUserRoleEntry. Deassign user from role.ILIAS getOperations(): get complete set of RBAC operations.ILIAS revokePermissions(): Revoke all permissions for a specific role on an object.ILIAS grantPermissions(): Grant permissions for a specific role on an object. (Substitutes existing permission settings)ILIAS getLocalRoles(): Get all local roles assigned to an specific object.ILIAS getUserRoles(): Get all local roles assigned to an specific user. ILIAS addRole(): Creates new role under given node. "target_id" is the reference id of an ILIAS ILIAS object. E.g ref_id of crs,grp. If no role folder exists, a new role folder will be created.ILIAS deleteRole(): Deletes an role and all user assignments. Fails if it is the last role of an userILIAS addRole(): Creates new role under given node. "target_id" is the reference id of an ILIAS ILIAS object. E.g ref_id of crs,grp. If no role folder exists, a new role folder will be created. In addition to addRole the template permissions will be copied from the given role templateILIAS getObjectTreeOperations(): Get all granted permissions for all references of an object for a specific user. Returns array of granted operations or empty arrayILIAS addGroup(): Add grop according to valid group XML @See ilias_group_0_1.dtdILIAS addGroup(): Check if group with given name exists. ILIAS getGroup(): get xml description of grouip with given reference id.ILIAS assignGroupMember(). Assigns an user to an existing group. Type should be "Admin","Member"ILIAS excludeGroupMember(). Excludes an user from an existing group.ILIAS isAssignedToGroup(). Checks whether an user is assigned to a given group. Returns 0 => not assigned, 1 => group admin, 2 => group memberDEPRECATED ILIAS distributeMails(): Distribute ILIAS mails according according to the mail setting of the recipients as ILIAS internal mail or as e-mail.ILIAS ilClone(): Only for internal usage.Syntax, parameters may change in future releases. ILIAS ilCloneDependencies(): Only for internal usage.Syntax, parameters may change in future releases. ILIAS saveQuestion: Saves the result of a question in a given test pass for the active test user. The active user is identified by the active ID, which assigns a user to a test.ILIAS saveQuestionSolution: Saves the result of a question in a given test pass for the active test user. The active user is identified by the active ID, which assigns a user to a test. The solution has to be an XML string which contains <values><value>VALUE</value><value>VALUE</value><points>POINTS</points>...</values> where the triplet (value,value,points) can repeat n times. The result string is either TRUE or it contains an error message.ILIAS getQuestionSolution: Typically called from external assessment questions to retrieve the previous input of a user.ILIAS getTestUserData: Typically called from external assessment questions to retrieve data of the active user. The returned string array values are fullname, title, firstname, lastname, login.ILIAS getPositionOfQuestion: Returns the position of a given question for a given user in a given test pass.ILIAS getPreviousReachedPoints: Returns an array of reached points for the previous questions in a given test pass.ILIAS getNrOfQuestionsInPass: Returns the question count for a given test user in a given pass.ILIAS getStructureObjects: delivers structure of content objects like learning modules (chapters/pages) or glossary (terms)ILIAS import users into folder id, which should be ref_id of folder or user folder (-1:System user folder, 0: checks access at user level, otherwise refid): conflict_rule: IL_FAIL_ON_CONFLICT = 1, IL_UPDATE_ON_CONFLICT = 2, IL_IGNORE_ON_CONFLICT = 3. The Return-Value is a protocol with the columns userid, login, action, message, following xmlresultset dtd. Send Account Mail = 0 deactivates sending a mail to each user, 1 activates itILIAS getRoles():if id equals -1, get all roles specified by type (global|local|user|user_login|template or empty), if type is empty all roles with all types are delivered, if id > -1 and role_type <> user or user_login, delivers all roles which belong to a repository object with specified ref_id, if roletype is user a numeric id is interpreted as userid, if roletype is user_login it is interpreted as login,if roletype is template all role templates will be listedILIAS getUsersForContainer(): get all users of a specific ref_id, which can be crs, group, category or user folder (value: -1). Choose if all roles of a user should be attached (1) or not (0). set active to -1 to get all, 0, to get inactive users only, 1 to get active users onlyILIAS getUsersForRole(): get all users of a role with specified id, specify attach_roles to 1, to attach all role assignmnents; specify active: 1, to import active only, 0: inactive only, -1: bothILIAS searchUser(): get all users, which match a query, consisting of the keyfields, matched with values of the field values, concatenated with the logical query operator. Specify attach_roles to 1, to attach all role assignmnents; specify active: 1, to import active only, 0: inactive only, -1: bothILIAS hasNewMail(): Checks whether the current authenticated user has a new mail.ILIAS getExerciseXML(): returns xml description of exercise. Attachment mode: 0 - no file contents, 1 - plain content (base64encoded), 2 zlib + base64, 3 gzip + base64)ILIAS addExercise(): create exercise, put it into target (ref_id) and update exercise properties from xml (see ilias_exercise_3_8.dtd for details). Obj_id must not be set!ILIAS updateExercise():update existing exercise, update exercise properties from xml (see ilias_exercise_3_8.dtd for details). obj_id in xml must match according obj id of refid.!ILIAS getFileXML(): returns xml description of file. Attachment mode: 0 - no file contents, 1 - plain content (base64encoded), 2 zlib + base64, 3 gzip + base64)ILIAS addFile(): create file, put it into target (ref_id) and update file properties from xml (see ilias_file_3_8.dtd for details). Obj_id must not be set!ILIAS updateFile():update existing file, update file properties from xml (see ilias_file_3_8.dtd for details). obj_id in xml must match according obj id of refid.!ILIAS getUserXML(): get xml records for user ids, e.g. retrieved vom members of course xml. Returns user xml dtds. ids are numeric ids of userILIAS getObjIdsForRefIds: Returns a array of object ids which match the references id, given by a comma seperated string. Returns an array of ref ids, in the same order as object ids. Therefore, there might by duplicatesILIAS updateGroup(): update existing group using ref id and group xml (see DTD).ILIAS getIMSManifestXML(): returns xml of ims manifest file (scorm learning module) referred by refidILIAS hasSCORMCertificate(): returns true if a certficate is available for a user referred by usr_id in a SCORM learning module referred by ref_idILIAS getSCORMCompletionStatus(): returns a completion status of a scorm moduleILIAS copyObject(): returns reference of copy, if copy is created directly, or the ref id of the target if copy is in progress.ILIAS moveObject(): returns true, if object with refid could be successfully moved to target id, other it raises an error.ILIAS getTestResults(): returns XMLResultSet with
sum only = true: user_id, login, firstname, lastname, matriculation, maximum points, received points
sum only = false: user_id, login, firstname, lastname, matriculation, question id, question title, question points, received pointsILIAS removeTestResults(): remove test results for the chosen usersILIAS getTestResults(): returns XMLResultSet with columns ref_id, course xml. $parameters has to contain a column user_id and a column status. Status is a logical AND combined value of (MEMBER = 1, TUTOR = 2, ADMIN = 4, OWNER = 8) and determines which courses should be returned.ILIAS getTestResults(): returns XMLResultSet with columns ref_id, group xml. $parameters has to contain a column user_id and a column status. Status is a logical AND combined value of (MEMBER = 1, TUTOR = 2, OWNER = 4) and determines which groups should be returned.ILIAS getPathForRefId(): returns XMLResultSet with columns ref_id, type and title.ILIAS searchRoles(): returns XML following role dtd with search results for given role type and search terms.ILIAS getInstallationInfoXML(): returns XML following installation_info dtdILIAS getClientInfoXML(): returns XML following installation_info dtd, contains the client the data of given client idILIAS getSkillCompletionDateForTriggerRefId(). Get completion dates for skill trigger ref ids.ILIAS checkSkillUserCertificateForTriggerRefId(). Check user certificates for trigger ref ids.ILIAS getSkillTriggerOfAllCertificates(). Check get all trigger with certificate for a user.ILIAS getUserIdBySid(): returns an ILIAS usr_id for the given sidILIAS deleteExpiredDualOptInUserObjects(): Deletes expired user accounts caused by unconfirmed registration links in "dual opt in" registration methodILIAS readWebLink(): returns xml description of a weblink container.ILIAS createWebLink(): create web link container, put it into target (ref_id) and update weblink container from xml (see ilias_weblink_4_0.dtd for details). Obj_id must not be set!ILIAS updateWebLink():update existing weblink, update weblink properties from xml (see ilias_weblink_4_0.dtd for details).ILIAS getLearningProgressChanges(): Get learning progress changes after a given timestamp.Delete user progress data of objects. Get object learning progress informationGenerate DataCollectionContent ExportProcess task in backgroundAdds a user to a position in a orgunitReturns the id of the default position 'Employee'Imports ILIAS Organisational Units (SimpleXML)Returns the ILIAS Organisational Units (SimpleXML)Returns an array of all existing position idsReturns the title of a position for a given position idRemoves a user from a position in a orgunitReturns the id of the default position 'Superior'Returns ids of users in a positionReturns ids of users in a position of a given Org Unit