Private/TestIsUserCreationEnabled.ps1

function TestIsUserCreationEnabled {
    [OutputType('bool')]
    [CmdletBinding()]
    param
    ()

    (GetPsAdSyncConfiguration).UserCreation.Enabled
}