/** * Sets the display name for by using the CAS attribute specified in the mapping * */ public function setDisplayName($uid, $displayName) { $udb = new \OC\User\Database(); $udb->setDisplayName($uid, $displayName); }