LDAP Account Manager

SelfServicePersistenceStrategy
in

Interface for self service profile persistence.

Table of Contents

canWrite()  : bool
Returns if the profile with given name can be written.
delete()  : void
Deletes a self service profile.
getProfiles()  : array<string|int, mixed>
Returns a list of available self service profiles.
load()  : selfServiceProfile
Loads the given self service profile.
rename()  : void
Renames a self service profile.
save()  : void
Stores the given profile.

Methods

canWrite()

Returns if the profile with given name can be written.

public canWrite(string $name, string $scope) : bool
Parameters
$name : string

profile name

$scope : string

user/group/host

Return values
bool

can be written

delete()

Deletes a self service profile.

public delete(string $name, string $scope) : void
Parameters
$name : string

profile name

$scope : string

account type

Tags
throws
LAMException

error renaming profile

Return values
void

getProfiles()

Returns a list of available self service profiles.

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

profile names (array('account type' => array('profile1', 'profile2')))

rename()

Renames a self service profile.

public rename(string $oldName, string $newName, string $scope) : void
Parameters
$oldName : string

existing profile name

$newName : string

new profile name

$scope : string

user/group/host

Tags
throws
LAMException

error renaming profile

Return values
void

Search results