Public Types | |
enum | search_scope_t { SCOPE_BASE, SCOPE_ONELEVEL, SCOPE_SUBTREE } |
Public Member Functions | |
LDAPQuery (LDAPConnection *, const std::string &, const std::vector< std::string > &, int s=SCOPE_SUBTREE) | |
Constructor. | |
~LDAPQuery () | |
Destructor. | |
int | scope () const |
Returns scope attribute value. | |
std::string | filter () const |
Returns the applied filter. | |
const std::vector< std::string > & | topics () const |
Returns the topic attribute. | |
generic_search_result_t * | tuples () const |
Result Tuples. | |
bool | execute () |
Execute the query. | |
std::string | what () const |
This class uses LDAP Connection base class to query a database for info.
|
|
|
Constructor. This object queries a database through an LDAP Connection for record satisfing a filter, having a specified scope. |
|
Destructor.
|
|
Execute the query.
|
|
Returns the applied filter.
|
|
Returns scope attribute value.
|
|
Returns the topic attribute.
|
|
Result Tuples.
|
|
|