> ## 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.

# PFUserBattleNetInfo

> PFUserBattleNetInfo data model.

PFUserBattleNetInfo data model.

## Syntax

```cpp theme={null}
typedef struct PFUserBattleNetInfo {  
    const char* battleNetAccountId;  
    const char* battleNetBattleTag;  
} PFUserBattleNetInfo;  
```

### Members

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

(Optional) Battle.net identifier.

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

(Optional) Battle.net display name.

## Requirements

**Header:** PFTypes.h

## See also

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


## Related topics

- [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 Battle Net](https://docs.xbox.com/services/playfab/api-references/rest/server/authentication/login-with-battle-net.md)
- [PFAuthenticationLoginWithBattleNetRequest](https://docs.xbox.com/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationloginwithbattlenetrequest.md)
- [PFAuthenticationServerLoginWithBattleNetRequest](https://docs.xbox.com/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationserverloginwithbattlenetrequest.md)
