(self)
return attrs_map
return a dictionary of the mappings between AD attributes to
        login table attributes
return a dictionary of the mappings between AD attributes to
        login table attributes
return a dictionary of the mappings between AD attributes to login table attributes
def get_user_mapping(self):
        '''return a dictionary of the mappings between AD attributes to
        login table attributes'''
        # NOTE: ensure this syncs up with the map in get_user_info()
        # in ad_get_user_info.py
        attrs_map = {
            'distinguishedName':'distinguishedName',
            'displayName':      'display_name',
            'name':             'name',
            'sn':               'last_name',
            'givenName':        'first_name',
            'mail':             'email',
            'telephoneNumber':  'phone_number',
            'department':       'department',
            'sAMAccountName':   'sAMAccountName',
            'memberOf':         'memberOf'

        }
        return attrs_map
def get_user_mapping ( self ) : # NOTE: ensure this syncs up with the map in get_user_info() # in ad_get_user_info.py attrs_map = { 'distinguishedName' : 'distinguishedName' , 'displayName' : 'display_name' , 'name' : 'name' , 'sn' : 'last_name' , 'givenName' : 'first_name' , 'mail' : 'email' , 'telephoneNumber' : 'phone_number' , 'department' : 'department' , 'sAMAccountName' : 'sAMAccountName' , 'memberOf' : 'memberOf' } return attrs_map