We're Hiring!

to extract all the email addresses of users

General user discussion about using the OMERO platform to its fullest. Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

There are workflow guides for various OMERO functions on our help site - http://help.openmicroscopy.org

You should find answers to any basic questions about using the clients there.

to extract all the email addresses of users

Postby sameh » Wed Mar 06, 2019 2:19 pm

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
sameh
 
Posts: 29
Joined: Tue Apr 17, 2018 8:38 am

Re: to extract all the email addresses of users

Postby jmoore » Wed Mar 06, 2019 2:39 pm

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
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: to extract all the email addresses of users

Postby sameh » Thu Mar 07, 2019 2:22 pm

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


Hi,

Great, it works !!

thank you so much
sameh
 
Posts: 29
Joined: Tue Apr 17, 2018 8:38 am


Return to User Discussion

Who is online

Users browsing this forum: No registered users and 1 guest