to extract all the email addresses of users
Posted:
Wed Mar 06, 2019 2:19 pm
by sameh
Hi there!
There is a way to extract all the email addresses of users from our Omero database ??
we want to create a mailing list for our users.
thank you very much
Sameh
Re: to extract all the email addresses of users
Posted:
Wed Mar 06, 2019 2:39 pm
by jmoore
Hi Sameh,
the server can send emails for your administrators if you'd like: see
https://docs.openmicroscopy.org/omero/5.4.10/sysadmins/mail.html for more information. If you just want a list of emails, use:
- Code: Select all
$ bin/omero user email -h
usage: bin/omero user email [-h] [-n] [-1] [-i] [--all] [-C] [-s SERVER]
[-p PORT] [-g GROUP] [-u USER] [-w PASSWORD]
[-k KEY] [--sudo ADMINUSER] [-q]
List users' email addresses
Optional Arguments:
In addition to any higher level options
-h, --help show this help message and exit
-n, --names Print user names along with email addresses
-1, --one Print one user per line
-i, --ignore Ignore users without email addresses
--all Include all users, including deactivated accounts
~Josh