ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilLDAPRoleAssignmentPlugin Interface Reference

Interface for ldap role assignment plugins. More...

+ Collaboration diagram for ilLDAPRoleAssignmentPlugin:

Public Member Functions

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

Detailed Description

Interface for ldap role assignment plugins.

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

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

Member Function Documentation

ilLDAPRoleAssignmentPlugin::checkRoleAssignment (   $a_plugin_id,
  $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
ilLDAPRoleAssignmentPlugin::getAdditionalAttributeNames ( )

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

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

Returns

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