Overview

Packages

  • Horde
  • None

Classes

  • Horde_Ajax_Application
  • Horde_Api
  • Horde_Block_Account
  • Horde_Block_Account_Base
  • Horde_Block_Account_Finger
  • Horde_Block_Account_Ldap
  • Horde_Block_Account_Localhost
  • Horde_Block_Cloud
  • Horde_Block_FbStream
  • Horde_Block_Feed
  • Horde_Block_Fortune
  • Horde_Block_Google
  • Horde_Block_Iframe
  • Horde_Block_Metar
  • Horde_Block_Moon
  • Horde_Block_Sunrise
  • Horde_Block_Time
  • Horde_Block_TwitterTimeline
  • Horde_Block_Vatid
  • Horde_Block_Weather
  • Horde_LoginTasks_SystemTask_GarbageCollection
  • Horde_LoginTasks_SystemTask_Upgrade
  • Horde_LoginTasks_Task_AdminCheck
  • Horde_LoginTasks_Task_LastLogin
  • Horde_LoginTasks_Task_TosAgreement
  • Horde_Prefs_Ui
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Block_Account_Ldap

The ldap class attempts to return user information stored in an ldap directory service.

Copyright 2001-2012 Horde LLC (http://www.horde.org/)

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Horde_Block_Account_Base
Extended by Horde_Block_Account_Ldap
Package: Horde
Author: Eric Jon Rostetter eric.rostetter@physics.utexas.edu
Author: Jan Schneider jan@horde.org
Located at Block/Account/Ldap.php
Methods summary
public
# __construct( array $params = array() )

Constructor.

Constructor.

Parameters

$params
A hash containing connection parameters.

Overrides

Horde_Block_Account_Base::__construct()
public string
# getFullname( )

Returns the user's full name.

Returns the user's full name.

Returns

string
The user's full name.

Throws

Horde_Exception
if user not found.
Horde_Ldap_Exception
on LDAP errors.

Overrides

Horde_Block_Account_Base::getFullname()
public string
# getHome( )

Returns the user's home (login) directory.

Returns the user's home (login) directory.

Returns

string
The user's directory.

Throws

Horde_Exception
if user not found.
Horde_Ldap_Exception
on LDAP errors.

Overrides

Horde_Block_Account_Base::getHome()
public string
# getShell( )

Returns the user's default shell.

Returns the user's default shell.

Returns

string
The user's shell.

Throws

Horde_Exception
if user not found.
Horde_Ldap_Exception
on LDAP errors.

Overrides

Horde_Block_Account_Base::getShell()
public string
# getPasswordChange( )

Returns the date of the user's last password change.

Returns the date of the user's last password change.

Returns

string
Date string.

Throws

Horde_Exception
if user not found.
Horde_Ldap_Exception
on LDAP errors.

Overrides

Horde_Block_Account_Base::getPasswordChange()
public string
# checkPasswordStatus( )

Returns the status of the current password.

Returns the status of the current password.

Returns

string

A string with a warning message if the password is about to expire.

Throws

Horde_Exception
if user not found.
Horde_Ldap_Exception
on LDAP errors.

Overrides

Horde_Block_Account_Base::checkPasswordStatus()
Methods inherited from Horde_Block_Account_Base
getQuota(), getUsername()
API documentation generated by ApiGen