ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilLDAPRoleAssignmentPlugin Interface Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Collaboration diagram for ilLDAPRoleAssignmentPlugin:

Public Member Functions

 checkRoleAssignment (int $a_plugin_id, array $a_user_data)
 check role assignment for a specific plugin id (defined in the ldap role assignment administration). More...
 
 getAdditionalAttributeNames ()
 If additional LDAP attributes values are required in the plugin return an array with these attribute names. More...
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Interface for ldap role assignment plugins

Author
Stefan Meyer meyer.nosp@m.@lei.nosp@m.fos.c.nosp@m.om

Definition at line 28 of file interface.ilLDAPRoleAssignmentPlugin.php.

Member Function Documentation

◆ checkRoleAssignment()

ilLDAPRoleAssignmentPlugin::checkRoleAssignment ( int  $a_plugin_id,
array  $a_user_data 
)

check role assignment for a specific plugin id (defined in the ldap role assignment administration).

Parameters
int$a_plugin_idUnique plugin id
array$a_user_dataArray with user data ($_SERVER)
Returns
bool whether the condition is fullfilled or not

◆ getAdditionalAttributeNames()

ilLDAPRoleAssignmentPlugin::getAdditionalAttributeNames ( )

If additional LDAP attributes values are required in the plugin return an array with these attribute names.

public function getAdditionalAttributeNames() { return array('employeetype','employeenumber','loginshell'); }

Returns
string[]

The documentation for this interface was generated from the following file: