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
$ 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
jmoore wrote: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
Users browsing this forum: Google [Bot] and 0 guests