LDAPService::updateMemberFromLDAP
Update the current Member record with data from LDAP.
It's allowed to pass an unwritten Member record here, because it's not always possible to satisfy field constraints without importing data from LDAP (for example if the application requires Username through a Validator). Even though unwritten, it still must have the GUID set. Constraints: - GUID of the member must have already been set, for integrity reasons we don't allow it to change here.
Signature
public function updateMemberFromLDAP(Member
$member,
[array|null
$data = NULL] )
Parameters
$member
—$data
— object- If passed, this is pre-existing AD attribute data to update the Member with.
If not given, the data will be looked up by the user's GUID.
Returns
- bool