Loading src/UnicaenLdap/Entity/Base/People.php +23 −0 Original line number Diff line number Diff line Loading @@ -157,6 +157,7 @@ class People extends Entity 'ucbnStatus', 'ucbnStructureRecherche', 'uidNumber', 'unicaenLeocarteCSN', 'unicaenMonEtupass', 'unicaenRefId', 'unicaenSecuriteCompte', Loading Loading @@ -214,6 +215,7 @@ class People extends Entity 'ucbnServicePapercut', 'ucbnSquidHash', 'uidNumber', 'unicaenLeocarteCSN', 'unicaenRefId', 'userPassword', ]; Loading Loading @@ -1562,6 +1564,27 @@ class People extends Entity return $this; } /** * Attribut Ldap "unicaenLeocarteCSN" * * @param array|string|null $value * @param bool $append * @return self * @throws Exception * @throws LdapException */ public function setUnicaenLeocarteCSN($value = null, $append = false) { $value = $this->preFormat($value); $value = array_filter($value, function($v) { return preg_match('/^[0-9A-F]{14}$/i', $v); }); $this->appendOrNot('unicaenLeocarteCSN', $value, $append); return $this; } /** * Attribut Ldap "unicaenRefId" * Loading Loading
src/UnicaenLdap/Entity/Base/People.php +23 −0 Original line number Diff line number Diff line Loading @@ -157,6 +157,7 @@ class People extends Entity 'ucbnStatus', 'ucbnStructureRecherche', 'uidNumber', 'unicaenLeocarteCSN', 'unicaenMonEtupass', 'unicaenRefId', 'unicaenSecuriteCompte', Loading Loading @@ -214,6 +215,7 @@ class People extends Entity 'ucbnServicePapercut', 'ucbnSquidHash', 'uidNumber', 'unicaenLeocarteCSN', 'unicaenRefId', 'userPassword', ]; Loading Loading @@ -1562,6 +1564,27 @@ class People extends Entity return $this; } /** * Attribut Ldap "unicaenLeocarteCSN" * * @param array|string|null $value * @param bool $append * @return self * @throws Exception * @throws LdapException */ public function setUnicaenLeocarteCSN($value = null, $append = false) { $value = $this->preFormat($value); $value = array_filter($value, function($v) { return preg_match('/^[0-9A-F]{14}$/i', $v); }); $this->appendOrNot('unicaenLeocarteCSN', $value, $append); return $this; } /** * Attribut Ldap "unicaenRefId" * Loading