onPostModify Is there a way to retrieve a list of all attributes that were NOT modified?

When I modify a user object, I want my script to do certain validations.. to set my AD account category (virtual attribute). Account categorization is set according to certain attribute values (let's say Givenname, title and department).

On PreModify, I am checking to see if any of these three attributes (Givenname, title or department) were changed. If so, I know I must reevaluate my account category.

Is there a way I can get the current unchanged value of my attributes without having to run a get-qaduser ? Out of $Request, I only see modified attribute properties.

Thank you for you help on this.

Parents Reply Children
No Data