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

Ajout de l'attribut "unicaenMailPrincipal"

parent 7c63d41c
No related branches found
No related tags found
No related merge requests found
......@@ -60,3 +60,8 @@ et "supannEtuTypeDiplome"
-------------------
- Ajout de l'attribut "unicaenLeocarteCSN"
3.1.11 (22/02/2021)
-------------------
- Ajout de l'attribut "unicaenMailPrincipal"
......@@ -158,6 +158,7 @@ class People extends Entity
'ucbnStructureRecherche',
'uidNumber',
'unicaenLeocarteCSN',
'unicaenMailPrincipal',
'unicaenMonEtupass',
'unicaenRefId',
'unicaenSecuriteCompte',
......@@ -216,6 +217,7 @@ class People extends Entity
'ucbnSquidHash',
'uidNumber',
'unicaenLeocarteCSN',
'unicaenMailPrincipal',
'unicaenRefId',
'userPassword',
];
......@@ -1585,6 +1587,24 @@ class People extends Entity
return $this;
}
/**
* Attribut Ldap "unicaenMailPrincipal"
*
* @param array|string|null $value
* @param bool $append
* @return self
* @throws Exception
* @throws LdapException
*/
public function setUnicaenMailPrincipal($value = null, $append = false)
{
$value = $this->preFormat($value);
$value = array_filter(filter_var_array($value, FILTER_VALIDATE_EMAIL));
$this->appendOrNot('unicaenMailPrincipal', $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