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

# social_manager_c

> social_manager_c

# social\_manager\_c

## Enumerations

| Enumeration                                                                                                         | Description                                                                                                                                        |
| ------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| [XblPresenceFilter](/reference/live/xsapi-c/social_manager_c/enums/xblpresencefilter)                               | The filter level of information. Title will only show users associated with a particular title.                                                    |
| [XblRelationshipFilter](/reference/live/xsapi-c/social_manager_c/enums/xblrelationshipfilter)                       | Possible relationship types to filter by.                                                                                                          |
| [XblSocialManagerEventType](/reference/live/xsapi-c/social_manager_c/enums/xblsocialmanagereventtype)               | The types of possible social manager events.                                                                                                       |
| [XblSocialManagerExtraDetailLevel](/reference/live/xsapi-c/social_manager_c/enums/xblsocialmanagerextradetaillevel) | Controls how much information is exposed in each xbox\_live\_social\_graph\_user. Detail level can only be set on construction of social\_manager. |
| [XblSocialUserGroupType](/reference/live/xsapi-c/social_manager_c/enums/xblsocialusergrouptype)                     | Identifies type of social user group created.                                                                                                      |

## Functions

| Function                                                                                                                                                | Description                                                                                            |
| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
| [XblSocialManagerAddLocalUser](/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanageraddlocaluser)                                         | Create a social graph for the specified local user.                                                    |
| [XblSocialManagerCreateSocialUserGroupFromFilters](/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagercreatesocialusergroupfromfilters) | Constructs a XblSocialManagerUserGroup, which is a collection of users with social information.        |
| [XblSocialManagerCreateSocialUserGroupFromList](/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagercreatesocialusergroupfromlist)       | Constructs a social XblSocialManagerUserGroup, which is a collection of users with social information. |
| [XblSocialManagerDestroySocialUserGroup](/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagerdestroysocialusergroup)                     | Destroys a created Social User Group.                                                                  |
| [XblSocialManagerDoWork](/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagerdowork)                                                     | Called whenever the title wants to update the social graph and get list of change events.              |
| [XblSocialManagerGetLocalUserCount](/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagergetlocalusercount)                               | Get the number of local users currently tracked by SocialManager.                                      |
| [XblSocialManagerGetLocalUsers](/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagergetlocalusers)                                       | Returns user handles for all users tracked by SocialManager.                                           |
| [XblSocialManagerPresenceRecordIsUserPlayingTitle](/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagerpresencerecordisuserplayingtitle) | Query whether the user associated with the provided presence record is playing a given title id.       |
| [XblSocialManagerRemoveLocalUser](/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagerremovelocaluser)                                   | Immediately removes a social graph for the specified local user.                                       |
| [XblSocialManagerSetRichPresencePollingStatus](/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagersetrichpresencepollingstatus)         | Sets whether to enable social manager to poll every 30 seconds from the presence service.              |
| [XblSocialManagerUpdateSocialUserGroup](/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagerupdatesocialusergroup)                       | Updates specified social user group to new group of users.                                             |
| [XblSocialManagerUserGroupGetFilters](/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagerusergroupgetfilters)                           | Gets the filters for a filter group.                                                                   |
| [XblSocialManagerUserGroupGetLocalUser](/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagerusergroupgetlocaluser)                       | Gets local user the group is associated with.                                                          |
| [XblSocialManagerUserGroupGetType](/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagerusergroupgettype)                                 | Gets the type of a Social Manager user group.                                                          |
| [XblSocialManagerUserGroupGetUsers](/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagerusergroupgetusers)                               | Gets an XblSocialManagerUserPtrArray of the users tracked by the user group.                           |
| [XblSocialManagerUserGroupGetUsersTrackedByGroup](/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagerusergroupgetuserstrackedbygroup)   | Gets a pointer to an XSAPI owned array of xuids tracked by the group.                                  |

## Handles

| Handle                                                                                                              | Description                              |
| ------------------------------------------------------------------------------------------------------------------- | ---------------------------------------- |
| [XblSocialManagerUserGroupHandle](/reference/live/xsapi-c/social_manager_c/handles/xblsocialmanagerusergrouphandle) | A handle to a social manager user group. |

## Structures

| Structure                                                                                                                   | Description                                                                                                         |
| --------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| [XblPreferredColor](/reference/live/xsapi-c/social_manager_c/structs/xblpreferredcolor)                                     | Preferred color for the user. Set via the shell.                                                                    |
| [XblSocialManagerEvent](/reference/live/xsapi-c/social_manager_c/structs/xblsocialmanagerevent)                             | An event that something in the social graph has changed.                                                            |
| [XblSocialManagerPresenceRecord](/reference/live/xsapi-c/social_manager_c/structs/xblsocialmanagerpresencerecord)           | Social manager presence record. Shows information on users current presence status and stores title records.        |
| [XblSocialManagerPresenceTitleRecord](/reference/live/xsapi-c/social_manager_c/structs/xblsocialmanagerpresencetitlerecord) | Social manager version of the presence title record. Gives information about different titles presence information. |
| [XblSocialManagerUser](/reference/live/xsapi-c/social_manager_c/structs/xblsocialmanageruser)                               | XBOX Social User that contains profile, presence, preferred color, and title history data.                          |
| [XblTitleHistory](/reference/live/xsapi-c/social_manager_c/structs/xbltitlehistory)                                         | Data about whether the user has played the title.                                                                   |
