Jump to content

Recommended Posts

Posted

Has anyone found a way of expiring AD Security Group membership?

 

Looking to find a way of adding someone to a remote access group for a set amount of time only without having to set loads of calendar reminders to remove access.

 

If anyone knows a way of doing this without having to install a third party program that would be great!

 

Mike.

  • 2 weeks later...
Posted

This is only half helpful. Can you use the "at" command and dsmod? I used to do something like this for deleting files in a couple of weeks time. Maybe something like:

at 12:00 /next:thursday dsmod group "cn=schema admins,cn=users,dc=example,dc=microsoft,dc=com" -rmmbr "cn=mary baker,cn=users,dc=example,dc=microsoft,dc=com"

 

 

Only half helpful because I haven't tried this.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...