LDAPClient: LDAPClient

Description Usage Format Value Fields Methods Author(s) Examples

Description

LDAPClient

Usage

1

Format

R6Class object.

Value

Object of R6Class with methods for communication a LDAP.

Fields

url

URL of the LDAP

root

root LDAP DN

Methods

new(hostname, port, dc, logger)

This method is used to instantiate a LDAP client. The logger can be either NULL, "INFO" (with minimum logs), or "DEBUG" (for complete curl calls logs)

getPersons(pretty)

Retrieves a list of persons. By default, this is returned as data.frame. Set pretty = FALSE to return a list of LDAPPerson objects.

Author(s)

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Examples

1
2
3
4
## Not run: 
  ldap <- LDAPClient$new(hostname = "localhost", port = 389, dc = "planetexpress.com")

## End(Not run)

eblondel/ldap4R documentation built on Nov. 4, 2019, 11:28 a.m.