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

# XblSocialManagerPresenceRecordIsUserPlayingTitle

> XblSocialManagerPresenceRecordIsUserPlayingTitle

# XblSocialManagerPresenceRecordIsUserPlayingTitle

Query whether the user associated with the provided presence record is playing a given title id.

## Syntax

```cpp theme={null}
bool XblSocialManagerPresenceRecordIsUserPlayingTitle(  
         const XblSocialManagerPresenceRecord* presenceRecord,  
         uint32_t titleId  
)  
```

### Parameters

*presenceRecord*   \_In\_\
Type: [XblSocialManagerPresenceRecord\*](/reference/live/xsapi-c/social_manager_c/structs/xblsocialmanagerpresencerecord)

A presence record returned from another social manager API.

*titleId*   \_In\_\
Type: uint32\_t

Title ID to query about.

### Return value

Type: bool

True if the user is playing the title and false otherwise.

## Requirements

**Header:** social\_manager\_c.h

**Library:** Microsoft.Xbox.Services.14x.GDK.C.lib

## See also

[social\_manager\_c](/reference/live/xsapi-c/social_manager_c/social_manager_c_members)


## Related topics

- [XblSocialManagerPresenceRecord](/reference/live/xsapi-c/social_manager_c/structs/xblsocialmanagerpresencerecord.md)
- [XblSocialManagerPresenceTitleRecord](/reference/live/xsapi-c/social_manager_c/structs/xblsocialmanagerpresencetitlerecord.md)
- [XblPresenceFilter](/reference/live/xsapi-c/social_manager_c/enums/xblpresencefilter.md)
- [Social Manager overview](/services/xbox-services/community/social-manager/live-social-manager-overview.md)
- [XblSocialManagerUser](/reference/live/xsapi-c/social_manager_c/structs/xblsocialmanageruser.md)
