# GetGameCenterPlayerID

## Description

Returns the unique ID for the currently logged in player. If no one is logged in, or the platform does not support GameCenter commands then this will return an empty string. If calling this command from Tier 2 then the returned string must be deleted with agk::DeleteString when you are done with it.

## Definition

string GetGameCenterPlayerID()

char* agk::GetGameCenterPlayerID()