flatfiles_emails_of_groups
Description
This client will generate a flat txt file by Groups
, containing the e-mail addresses of its members (one by line).
Configuration
hermes-client-usersgroups_flatfiles_emails_of_groups:
# MANDATORY
destDir: "/path/where/files/are/stored"
# Facultative: if set, will generate a file only for the specified group names in list
onlyTheseGroups:
- group1
- group2
Datamodel
The following data types must be set up:
Users
, requires the following attribute names:user_pkey
: the user primary keymail
: the user email address
Groups
, requires the following attribute names:group_pkey
: the group primary keyname
: the group name, that will be compared to those inonlyTheseGroups
, and used to name the destination file “groupName.txt”
GroupsMembers
, requires the following attribute names:user_pkey
: the user primary keygroup_pkey
: the group primary key
datamodel:
Users:
hermesType: your_server_Users_type_name
attrsmapping:
user_pkey: user_pkey_on_server
mail: mail_on_server
Groups:
hermesType: your_server_Groups_type_name
attrsmapping:
group_pkey: group_pkey_on_server
name: group_name_on_server
GroupsMembers:
hermesType: your_server_GroupsMembers_type_name
attrsmapping:
user_pkey: user_pkey_on_server
group_pkey: group_pkey_on_server