internal/functions/Get-CFXADUserSID.ps1

function Get-CFXADUserSID {
    [CmdletBinding()]
    param (
        # Username used for logon (SAMAccountName)
        [Parameter(Mandatory = $true, ValueFromPipelineByPropertyName = $true)]
        [string] $Username
    )

    process {
        try{
            #$adUser = Get-ADUser -Identity $Username -ErrorAction Stop
        }
        catch {
            throw
        }
        'S-1-5-21-1235640352-1408450738-6166'
        #$adUser.SID
    }
}