Synchronization of Permissions

Synchronises the permission objects of two drives.


Examples:


Hint: The examples require two connected PowerShell drives on the environments to be synchronized.


In the first example, the available permissions are synchronized from the source drive to the destination drive:


$SyncSource = Get-EmdbDrive -Name Production

$SyncTarget = Get-EmdbDrive -Name Sandbox

Sync-EmdbPermission -Source $SyncSource -Target $SyncTarget


If the -Mirror switch parameter is specified, the available permissions of the source environment are mirrored to the target environment. This means that rights of the target environment that are not available in the environment of the source drive are deleted there.


Sync-EmdbPermission -Source $SyncSource -Target $SyncTarget -Mirror