How to get read-only player data
Fetch read-only PlayFab player data from client or server APIs to expose progression values players can view but cannot modify directly.
To get read-only player data, use the Server API GetUserReadOnlyData method.
The C# Sample in this topic are written for the Unity SDK. The Unity SDK uses an event driven model to handle non-synchronous tasks. To run the sample code using the C# SDK, you must modify the code to use an async Task model. Methods that must be modified have Async append to the method name in the signature. For example, SetObject in the Unity SDK becomes SetObjectAsync in the C# SDK. For more information, see Asynchronous programming with async and await.
Last modified on August 4, 2026
Related topics
How to set read-only player dataQuickstart Player DataPFPlayerDataManagementClientGetUserReadOnlyDataGetResultPFPlayerDataManagementServerGetUserReadOnlyDataGetResultPFPlayerDataManagementServerGetUserReadOnlyDataAsync