> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFUserPsnInfo

> PFUserPsnInfo data model.

PFUserPsnInfo data model.

## Syntax

```cpp theme={null}
typedef struct PFUserPsnInfo {  
    const char* psnAccountId;  
    const char* psnOnlineId;  
    const char* psnSandboxId;  
} PFUserPsnInfo;  
```

### Members

**`psnAccountId`**   const char\*\
*is null-terminated*

(Optional) PlayStation :tm: Network account ID.

**`psnOnlineId`**   const char\*\
*is null-terminated*

(Optional) PlayStation :tm: Network online ID.

**`psnSandboxId`**   const char\*\
*is null-terminated*

(Optional) PlayStation :tm: Network sandbox ID.

## Requirements

**Header:** PFTypes.h

## See also

[PFTypes members](https://docs.xbox.com/services/playfab/api-references/c/pftypes/pftypes_members.md)


## Related topics

- [PFFriendsFriendInfo](https://docs.xbox.com/services/playfab/api-references/c/pffriendstypes/structs/pffriendsfriendinfo.md)
- [PFUserAccountInfo](https://docs.xbox.com/services/playfab/api-references/c/pftypes/structs/pfuseraccountinfo.md)
- [Services C API overview - PFTypes.h](https://docs.xbox.com/services/playfab/api-references/c/pftypes/pftypes_members.md)
- [Login With PSN](https://docs.xbox.com/services/playfab/api-references/rest/server/authentication/login-with-psn.md)
- [Get User Account Info](https://docs.xbox.com/api-reference/account-management/get-user-account-info.md)
