Script repository
The script updates the specified property of the member with the specified value upon adding/removing from a group. To execute the script, create a business rule triggering upon updating group membership (e.g. After adding a member to a group).
Parameters
$propertyName- the schema name of the property to update.$propertyValue- the value to set for the property.
$propertyName = "description" # TODO: modify me
$propertyValue = "my value" # TODO: modify me
$member = $Context.BindToObject("Adaxes://%member%")
$member.Put($propertyName, $propertyValue)
$member.SetInfo()
Comments 0
You must be signed in to comment.