SysGetUserInfo
Retrieves user information for a single profile ID.
Service | Operation |
---|---|
user | SYS_GET_USER_INFO |
Method Parameters
Parameter | Description |
---|---|
profileId | Profile ID of the user. |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
// Cloud Code only. To view example, switch to the Cloud Code tab
var userProxy = bridge.getUserServiceProxy();
var postResult = userProxy.sysGetUserInfo(
"d296efe9-e5bf-42d1-95ec-fea0527d8276" // profileId
);
if (postResult.status == 200) {
// Success!
}
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"data": {
"emailAddress": "someemail@somedomain.com",
"playerName": "email guest1",
"profileId": "d296efe9-e5bf-42d1-95ec-fea0527d8276",
"countryCode": "US",
"timeZoneOffset": -4,
"summaryFriendData": null
},
"status": 200
}