Commit c22e4724 authored by David Surville's avatar David Surville
Browse files

Ajout de l'attribut "unicaenMailPrincipal"

parent 7c63d41c
...@@ -60,3 +60,8 @@ et "supannEtuTypeDiplome" ...@@ -60,3 +60,8 @@ et "supannEtuTypeDiplome"
------------------- -------------------
- Ajout de l'attribut "unicaenLeocarteCSN" - Ajout de l'attribut "unicaenLeocarteCSN"
3.1.11 (22/02/2021)
-------------------
- Ajout de l'attribut "unicaenMailPrincipal"
...@@ -158,6 +158,7 @@ class People extends Entity ...@@ -158,6 +158,7 @@ class People extends Entity
'ucbnStructureRecherche', 'ucbnStructureRecherche',
'uidNumber', 'uidNumber',
'unicaenLeocarteCSN', 'unicaenLeocarteCSN',
'unicaenMailPrincipal',
'unicaenMonEtupass', 'unicaenMonEtupass',
'unicaenRefId', 'unicaenRefId',
'unicaenSecuriteCompte', 'unicaenSecuriteCompte',
...@@ -216,6 +217,7 @@ class People extends Entity ...@@ -216,6 +217,7 @@ class People extends Entity
'ucbnSquidHash', 'ucbnSquidHash',
'uidNumber', 'uidNumber',
'unicaenLeocarteCSN', 'unicaenLeocarteCSN',
'unicaenMailPrincipal',
'unicaenRefId', 'unicaenRefId',
'userPassword', 'userPassword',
]; ];
...@@ -1585,6 +1587,24 @@ class People extends Entity ...@@ -1585,6 +1587,24 @@ class People extends Entity
return $this; 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" * 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