mex.extractors.ldap package¶
Submodules¶
mex.extractors.ldap.helpers module¶
- mex.extractors.ldap.helpers.get_ldap_merged_contact_id_by_mail(*, mail: str = '*', limit: int = 10) MergedContactPointIdentifier | None¶
Extract, transform and load ldap contact point and return merged ID.
- Parameters:
mail – functional account mail
limit – How many items to return
- Returns:
merged contact point id or None, if not exactly one result
- mex.extractors.ldap.helpers.get_ldap_merged_person_id_by_query(display_name: str = '*', employee_id: str = '*', given_name: str = '*', mail: str = '*', object_guid: str = '*', sam_account_name: str = '*', surname: str = '*') MergedPersonIdentifier | None¶
Extract, transform and load ldap person and return merged ID.
- Parameters:
display_name – Display name of the person
employee_id – Employee identifier
given_name – Given name of a person, defaults to non-null
mail – Email address, defaults to non-null
object_guid – Internal LDAP identifier
sam_account_name – Account name
surname – Surname of a person, defaults to non-null
- Returns:
merged person id or None, if not exactly one result