Sometimes you want to write an email to all users that are currently in the office. You could now just insert all the email addresses into a mail but you might not know who's in the office your you forget someone.
Another solution would it be to write the email to a security group. But this will also sent the mail to users that are on vacation.
I know that you can see the sessions on a fileserver as well as the opened files. Can I use this information to get all the users that are currently logged in? And how could I open a mail with all those users filled into the "to" field of a mail (maybe with some kind of batch file)?