phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: phpgwapi/inc class.accounts_ldap.inc.php,1.101.


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.accounts_ldap.inc.php,1.101.2.13.2.1,1.101.2.13.2.2
Date: Thu, 01 May 2003 19:39:52 -0400

Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv16445

Modified Files:
      Tag: Version-0_9_16-branch
        class.accounts_ldap.inc.php 
Log Message:
update accounts

Index: class.accounts_ldap.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.accounts_ldap.inc.php,v
retrieving revision 1.101.2.13.2.1
retrieving revision 1.101.2.13.2.2
diff -C2 -r1.101.2.13.2.1 -r1.101.2.13.2.2
*** class.accounts_ldap.inc.php 26 Mar 2003 22:55:47 -0000      1.101.2.13.2.1
--- class.accounts_ldap.inc.php 1 May 2003 23:39:50 -0000       1.101.2.13.2.2
***************
*** 5,12 ****
        * and Lars Kneschke <address@hidden>                            *
        * View and manipulate account records using LDAP                        
   *
!       * Copyright (C) 2000, 2001 Joseph Engo                                  
   *
        * 
-------------------------------------------------------------------------*
        * This library is part of the phpGroupWare API                          
   *
!       * http://www.phpgroupware.org/api                                       
   * 
        * 
------------------------------------------------------------------------ *
        * This library is free software; you can redistribute it and/or modify 
it  *
--- 5,12 ----
        * and Lars Kneschke <address@hidden>                            *
        * View and manipulate account records using LDAP                        
   *
!       * Copyright (C) 2000 - 2003 Joseph Engo                                 
   *
        * 
-------------------------------------------------------------------------*
        * This library is part of the phpGroupWare API                          
   *
!       * http://www.phpgroupware.org                                           
   * 
        * 
------------------------------------------------------------------------ *
        * This library is free software; you can redistribute it and/or modify 
it  *
***************
*** 877,880 ****
--- 877,894 ----
                        $lname = $account_name[$account_id]['lname'];
                        return;
+               }
+ 
+               function get_account_data($account_id)
+               {
+                       $this->account_id = $account_id;
+                       $this->read_repository();
+ 
+                       $data[$this->data['account_id']]['lid']       = 
$this->data['account_lid'];
+                       $data[$this->data['account_id']]['firstname'] = 
$this->data['firstname'];
+                       $data[$this->data['account_id']]['lastname']  = 
$this->data['lastname'];
+                       $data[$this->data['account_id']]['fullname']  = 
$this->data['fullname'];
+                       $data[$this->data['account_id']]['type']      = 
$this->data['account_type'];
+ 
+                       return $data;
                }
  





reply via email to

[Prev in Thread] Current Thread [Next in Thread]