Hi,
I’m looking for a way to add an account to a specific protocol rule that will expire in a given period of time.
Manually, i just add the account to its acl and at the end of the day, i remove the account from its acl. I would like to automate this task.
I have looked into ISA Server’s SDK using the object FPC.Root, traversing through the collection of Array(1).ArrayPolicy.ProtocolRules
and getting the AppliestoAccounts collection.
I am able to display the accounts in the AppliestoAccounts collection. How do I add an existing account to the collection? If i use the FPCAccounts.add method, it creates a new account in my Active Directory and it doesn’t add the account in that particular Rule’s AppliestoAccounts list.
Or is there another way, an add-on of sorts, to give a user temporary access for a limited period of time only? Let’s say, I’ll give userA only 1 hour of internet access now, so that after one hour, it will automatically revoke the access given to userA.