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

# XblSocialRelationshipFilter

> XblSocialRelationshipFilter

Defines the relationship filters available for social groups.

## Syntax

```cpp theme={null}
enum class XblSocialRelationshipFilter  : uint32_t  
{  
    All,  
    Favorite,  
    LegacyXboxLiveFriends  
}  
```

## Constants

| Constant | Description |
| - | - |
| All | All the people on the user's people list. |
| Favorite | Filters to only the people on the user's people list that have the attribute "Favorite" associated with them. |
| LegacyXboxLiveFriends | Filters to only the people on the user's people list that are also legacy XBOX friends. |

## Argument of

[XblSocialGetSocialRelationshipsAsync](https://docs.xbox.com/reference/live/xsapi-c/social_c/functions/xblsocialgetsocialrelationshipsasync.md)

## Requirements

**Header:** social\_c.h

## See also

[social\_c](https://docs.xbox.com/reference/live/xsapi-c/social_c/social_c_members.md)


## Related topics

- [XblSocialGetSocialRelationshipsAsync](https://docs.xbox.com/reference/live/xsapi-c/social_c/functions/xblsocialgetsocialrelationshipsasync.md)
- [social_c (contents)](https://docs.xbox.com/reference/live/xsapi-c/social_c/social_c_members.md)
- [XblRelationshipFilter](https://docs.xbox.com/reference/live/xsapi-c/social_manager_c/enums/xblrelationshipfilter.md)
- [XblSocialManagerCreateSocialUserGroupFromFilters](https://docs.xbox.com/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagercreatesocialusergroupfromfilters.md)
- [XblSocialManagerUserGroupGetFilters](https://docs.xbox.com/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagerusergroupgetfilters.md)
