Skip to content
Snippets Groups Projects
Commit de30fd68 authored by David Surville's avatar David Surville
Browse files

Ajout attribut "unicaenLeocarteCSN"

parent a1e31890
No related branches found
No related tags found
No related merge requests found
......@@ -157,6 +157,7 @@ class People extends Entity
'ucbnStatus',
'ucbnStructureRecherche',
'uidNumber',
'unicaenLeocarteCSN',
'unicaenMonEtupass',
'unicaenRefId',
'unicaenSecuriteCompte',
......@@ -214,6 +215,7 @@ class People extends Entity
'ucbnServicePapercut',
'ucbnSquidHash',
'uidNumber',
'unicaenLeocarteCSN',
'unicaenRefId',
'userPassword',
];
......@@ -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"
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment