Public/Get-IAMCoreRelationship.ps1

<#
.SYNOPSIS
    Gets CoreRelationship objects from the IAM Core API.

.DESCRIPTION
    This function retrieves CoreRelationship objects from the IAM Core API.

.EXAMPLE
    Get-IAMCoreRelationship
#>

function Get-IAMCoreRelationship {
    [CmdletBinding()]
    param (
        [Parameter(Mandatory = $false)]
        [int] $PageSize = 10000
    )

    Get-IAMCoreObject -ObjectType "CoreRelationship" -PageSize $PageSize
}