As the IT manager of a company with c. 200 users, I find myself sending e-mails to an "All" distribution list informing people that a server will be rebooted in 10 mins, please don't use this printer today, the Intranet will be off for 20 mins, etc. When people are on holiday, they come back to a load of useless e-mails like this. As we are a tour operator, we often have 20% of staff out on research trips abroad, so it's a common complaint.
What I would like to do is have a query-based distribution list called "Logged-on Users" that can use LDAP to query currently logged-on users, so only people currently in the building will receive these e-mails. Makes a lot of sense I think! But I can't find any posts about this anywhere - has anyone worked this out?
I wasn't sure if there was a flag anywhere in AD that shows whether that user has logged-on to the domain or not (and is reset when they log off), but thought that a way round this may be to have a custom attribute set to "1" when they log on and "0" when they log off, then to use LDAP to build the query-based distribution list based on this value. But I'm not sure how to get this value set at logon/logoff.
Any solution to this problem would be fantastic! Thanks very much.
Audley Travel Group