LDAP Account Manager

AddAttributesTask
in package
implements ImporterTask

Adds attributes to an existing LDAP entry.

Tags
author

Roland Gruber

Interfaces, Classes, Traits and Enums

ImporterTask
A single import task.

Table of Contents

$attributes  : mixed
$dn  : mixed
__construct()  : mixed
Constructor
getAttributes()  : array<string|int, string>
Returns the attributes to add.
getDn()  : string
Returns the DN.
run()  : string
Runs the task.

Properties

$attributes

private mixed $attributes = []

Methods

__construct()

Constructor

public __construct(string $dn, mixed $attributes) : mixed
Parameters
$dn : string

DN

$attributes : mixed
Return values
mixed

getAttributes()

Returns the attributes to add.

public getAttributes() : array<string|int, string>
Return values
array<string|int, string>

attributes (array('attr' => array('val1', 'val2')))

getDn()

Returns the DN.

public getDn() : string
Return values
string

DN

run()

Runs the task.

public run() : string
Tags
see
ImporterTask::run()
Return values
string

HTML output or LAMException if error occurred

Search results