LDAP Account Manager

DeleteAttributesTask
in package
implements ImporterTask

Deletes attributes from an existing LDAP entry.

Tags
author

Roland Gruber

Interfaces, Classes, Traits and Enums

ImporterTask
A single import task.

Table of Contents

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

Properties

$attributeName

private mixed $attributeName

$attributes

private mixed $attributes = []

Methods

__construct()

Constructor

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

DN

$attributeName : string

attribute name

$attributes : mixed
Return values
mixed

getAttributeName()

Returns the attributes name.

public getAttributeName() : string
Return values
string

name

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