\Horde_Kolab_Server_Search_Operation_Guidforcn

Identify the GUID for the objects found with the given common name.

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
searchGuid()
__construct()
getStructure()
searchGuidForCn()
No public properties found
No constants found
guidFromResult()
No protected properties found
N/A
No private methods found
$_structure
N/A

Properties

Methods

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.

searchGuidForCn()

searchGuidForCn(string  $cn) : array

Identify the GUID for the objects found with the given common name.

Parameters

string $cn

Search for objects with this common name.

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.