14                                         array( 
'oxusername',  
'oxuser', 1, 0, 0 ),
 
   15                                         array( 
'oxlname',     
'oxuser', 0, 0, 0 ),
 
   16                                         array( 
'oxfname',     
'oxuser', 0, 0, 0 ),
 
   17                                         array( 
'oxstreet',    
'oxuser', 0, 0, 0 ),
 
   18                                         array( 
'oxstreetnr',  
'oxuser', 0, 0, 0 ),
 
   19                                         array( 
'oxcity',      
'oxuser', 0, 0, 0 ),
 
   20                                         array( 
'oxzip',       
'oxuser', 0, 0, 0 ),
 
   21                                         array( 
'oxfon',       
'oxuser', 0, 0, 0 ),
 
   22                                         array( 
'oxbirthdate', 
'oxuser', 0, 0, 0 ),
 
   23                                         array( 
'oxid',        
'oxuser', 0, 0, 1 ),
 
   25                                     'container2' => array(
 
   26                                         array( 
'oxusername',  
'oxuser', 1, 0, 0 ),
 
   27                                         array( 
'oxlname',     
'oxuser', 0, 0, 0 ),
 
   28                                         array( 
'oxfname',     
'oxuser', 0, 0, 0 ),
 
   29                                         array( 
'oxstreet',    
'oxuser', 0, 0, 0 ),
 
   30                                         array( 
'oxstreetnr',  
'oxuser', 0, 0, 0 ),
 
   31                                         array( 
'oxcity',      
'oxuser', 0, 0, 0 ),
 
   32                                         array( 
'oxzip',       
'oxuser', 0, 0, 0 ),
 
   33                                         array( 
'oxfon',       
'oxuser', 0, 0, 0 ),
 
   34                                         array( 
'oxbirthdate', 
'oxuser', 0, 0, 0 ),
 
   35                                         array( 
'oxid',     
'oxobject2group', 0, 0, 1 ),
 
   56             $sQAdd  = 
" from $sUserTable where 1 ";
 
   58             $sQAdd  = 
" from $sUserTable, oxobject2group where $sUserTable.oxid=oxobject2group.oxobjectid and ";
 
   59             $sQAdd .= 
" oxobject2group.oxgroupsid = ".$oDb->quote( $sRoleId );
 
   62         if ( $sSynchRoleId && $sSynchRoleId != $sRoleId) {
 
   63             $sQAdd .= 
" and $sUserTable.oxid not in ( select $sUserTable.oxid from $sUserTable, oxobject2group where $sUserTable.oxid=oxobject2group.oxobjectid and ";
 
   64             $sQAdd .= 
" oxobject2group.oxgroupsid = ".$oDb->quote( $sSynchRoleId );
 
   65             if (!
$myConfig->getConfigParam( 
'blMallUsers' ) )
 
   66                 $sQAdd .= 
" and $sUserTable.oxshopid = '".
$myConfig->getShopId().
"' ";
 
   70         if ( !
$myConfig->getConfigParam( 
'blMallUsers' ) )
 
   71             $sQAdd .= 
" and $sUserTable.oxshopid = '".
$myConfig->getShopId().
"' ";
 
   83         $aRemoveGroups = $this->
_getActionIds( 
'oxobject2group.oxid' );
 
   90         } elseif ( $aRemoveGroups && is_array( $aRemoveGroups ) ) {
 
   91             $sQ = 
"delete from oxobject2group where oxobject2group.oxid in (" . implode( 
", ", 
oxDb::getInstance()->quoteArray( $aRemoveGroups ) ) . 
") ";
 
  110         if ( $soxId && $soxId != 
"-1" && is_array( $aAddUsers ) ) {
 
  111             foreach ($aAddUsers as $sAdduser) {
 
  112                 $oNewGroup = 
oxNew( 
"oxobject2group" );
 
  113                 $oNewGroup->oxobject2group__oxobjectid = 
new oxField($sAdduser);
 
  114                 $oNewGroup->oxobject2group__oxgroupsid = 
new oxField($soxId);