\Horde_Kolab_Server_Search_Operation_Guidformailoralias

Return all KolabInetOrgPersons with the given mail or alias address.

Copyright 2008-2017 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Summary

Methods
Properties
Constants
searchRestrictKolab()
searchGuid()
__construct()
getStructure()
searchGuidForMailOrAlias()
No public properties found
No constants found
guidFromResult()
No protected properties found
N/A
No private methods found
$_structure
N/A

Properties

Methods

searchRestrictKolab()

searchRestrictKolab(\Horde_Kolab_Server_Query_Element  $criteria) : array

Restrict a search to KolabInetOrgPersons.

Parameters

\Horde_Kolab_Server_Query_Element $criteria

The search criteria.

Throws

\Horde_Kolab_Server_Exception

Returns

array —

The GUID(s).

searchGuid()

searchGuid(\Horde_Kolab_Server_Query_Element  $criteria) : array

Perform the search.

Parameters

\Horde_Kolab_Server_Query_Element $criteria

The search criteria.

Returns

array —

The search result.

searchGuidForMailOrAlias()

searchGuidForMailOrAlias(string  $mail, string  $alias) : array

Return all KolabInetOrgPersons with the given mail or alias address.

Parameters

string $mail

The mail address to search for.

string $alias

The alias address to search for.

Throws

\Horde_Kolab_Server_Exception

Returns

array —

The GUID(s).

guidFromResult()

guidFromResult(array  $result) : boolean|array

Identify the GUID(s) of the result entry(s).

Parameters

array $result

The LDAP search result.

Returns

boolean|array —

The GUID(s) or false if there was no result.