PHP Class Horde_Group_Kolab, horde

Author: Gunnar Wrobel ([email protected])
Author: Jan Schneider ([email protected])
Inheritance: extends Horde_Group_Ldap
Datei anzeigen Open project: horde/horde

Public Methods

Method Description
listGroups ( string $user ) : array Returns a list of groups a user belongs to.

Protected Methods

Method Description
_dnForMail ( string $mail ) : string Tries to find a DN for a given kolab mail address.

Method Details

_dnForMail() protected method

Tries to find a DN for a given kolab mail address.
protected _dnForMail ( string $mail ) : string
$mail string The mail address to search for.
return string The corresponding dn or false.

listGroups() public method

Returns a list of groups a user belongs to.
public listGroups ( string $user ) : array
$user string A user name.
return array A list of groups, with IDs as keys and names as values.