This function is called after the edit page is processed and before the page content is generated. This can be used to run custom handlers after each page processing.
Returns if the given attribute can be filtered. If filtering is not possible then no filter box will be displayed.
The user list allows no filtering for account status.
Arguments
Name
Type
Description
Default
$attr
String
attribute name
Return value
Type
Description
boolean
filtering possible
getAdditionalLDAPAttributesToRead(
)
:
array
Description
Returns a list of additional LDAP attributes that should be read. This can be used to show additional data even if the user selected other attributes to show in the list.
The user list reads pwdAccountLockedTime, sambaAcctFlags and userPassword
Return value
Type
Description
array
additional attribute names
getAdditionalTools(
)
:
\lamListTool[]
Description
Returns a list of lamListTool objects to display next to the edit/delete buttons.
Return value
Type
Description
\lamListTool[]
tools
injectAccountStatusAttribute(
)
:
n/a
Description
Injects values for the virtual account status attribute to make it sortable.
Return value
Type
Description
n/a
n/a
isPPolicyAvailable(
array
$attrs,
)
:
boolean
Description
Returns if the PPolicy part exists.
Arguments
Name
Type
Description
Default
$attrs
array
LDAP attributes
Return value
Type
Description
boolean
PPolicy part exists
isPPolicyLocked(
array
$attrs,
)
:
boolean
Description
Returns if the PPolicy part is locked.
Arguments
Name
Type
Description
Default
$attrs
array
LDAP attributes
Return value
Type
Description
boolean
PPolicy part is locked
isSambaAvailable(
array
$attrs,
)
:
boolean
Description
Returns if the Samba part exists.
Arguments
Name
Type
Description
Default
$attrs
array
LDAP attributes
Return value
Type
Description
boolean
Samba part exists
isSambaLocked(
array
$attrs,
)
:
boolean
Description
Returns if the Samba part is locked.
Arguments
Name
Type
Description
Default
$attrs
array
LDAP attributes
Return value
Type
Description
boolean
Samba part is locked
isUnixAvailable(
array
$attrs,
)
:
boolean
Description
Returns if the Unix part exists.
Arguments
Name
Type
Description
Default
$attrs
array
LDAP attributes
Return value
Type
Description
boolean
Unix part exists
isUnixLocked(
array
$attrs,
)
:
boolean
Description
Returns if the Unix part is locked.
Arguments
Name
Type
Description
Default
$attrs
array
LDAP attributes
Return value
Type
Description
boolean
Unix part locked
isWindowsAvailable(
array
$attrs,
)
:
boolean
Description
Returns if the Windows part exists.
Arguments
Name
Type
Description
Default
$attrs
array
LDAP attributes
Return value
Type
Description
boolean
Windows part exists
isWindowsLocked(
array
$attrs,
)
:
boolean
Description
Returns if the Windows part is locked.
Arguments
Name
Type
Description
Default
$attrs
array
LDAP attributes
Return value
Type
Description
boolean
Windows part is locked
listConfigurationChanged(
)
:
n/a
Description
Called when the configuration options changed.
Return value
Type
Description
n/a
n/a
listGetAllConfigOptions(
)
:
array
Description
Returns a list of possible configuration options.
Return value
Type
Description
array
list of lamListOption objects
listGetAttributeDescriptionList(
)
:
array
Description
Returns an hash array containing with all attributes to be shown and their descriptions.
Format: array(attribute => description)
The user list may display an additional account status column