APlayerController::GetPlatformUserId

Returns the platform user that is assigned to this Player Controller's Local Player.