Hi all!
I need to dynamically find all attributes modified in function onPreModify($Request).
I do NOT want to something like:
function onPreModify($Request)
{
if ((IsAttributeModified "edsva_myattribute" $Request) -eq $true)
{
#do something like mail info someone that a attribute "edsva_myattribute" changed for a certain user to a certain value
}
}
rather I like to have:
function onPreModify($Request)
{
$attributeschanged = $request.thefuntionIlookfor() #give me a list all attributes changed
foreach($attribute in $attrubuteschanged)
{
#do something like mail info someone these these x number of attributes changed for a certain user and the new values was x,z,y
}
Cant find that scenario in articles, maybe someone else has?
Best regards,
//Johan Salomonsson