Flatten in the database

With this adaptation, the previous accounts are read from the one domain and converted directly into the new accounts.

This variant can also be used whenever accounts have been renamed, for example, and the previous SAM may be found in another field.

The cypher input looks like this:

<add key = "Flatten" value = "y.type = 'person' with collect (y.sAMAccountName) as col match (y: ADAccount {domain: 'axusr.net'}) where y.sAMAccountName in col and y. isactive = 'True' and not y.sAMAccountName starts with, S-1, and not y.objectGUID = "" />

Permanent link to this post: https://help.migraven.com/flatten-in-der-datenbank/