Commit 4bf9c8a6 authored by David Surville's avatar David Surville
Browse files

Ajout attribut "unicaenLeocarteCSN"

parent 2be356ef
......@@ -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"
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment