This one might be a little tricky, but any help is greatly appreciated.
I already know how to create a script that can check the group membership of a computer. However, I want to know if it is possible to run a script that will change a USER's group membership depending on what computer that user logs into.
For example. I work at a hospital, and we have probably a dozen or so Clinical Doctor's offices. Each doctor has nursing and reception staff that can vary from day to day. The staff in Dr. A's office one day might be in Dr. C's office the next day.
That's where a script like this would come in handy. Each of our computers is placed in a group that corresponds with the location of that computer. Is there any way that I could automatically at logon, using a script, grant membership for the current user to the group that corresponds with the computer's location? In this way we would be able to limit access to the Dr's calendar, network folders, printers, etc. without having the manually change the group membership ourselves.
Thanks in advance! Let me know if I can clarify my problem further!