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

# XblSocialRelationshipFilter

> 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 Live friends.                  |

## Argument of

[XblSocialGetSocialRelationshipsAsync](/reference/live/xsapi-c/social_c/functions/xblsocialgetsocialrelationshipsasync)

## Requirements

**Header:** social\_c.h

## See also

[social\_c](/reference/live/xsapi-c/social_c/social_c_members)


## Related topics

- [XblSocialGetSocialRelationshipsAsync](/reference/live/xsapi-c/social_c/functions/xblsocialgetsocialrelationshipsasync.md)
- [XblRelationshipFilter](/reference/live/xsapi-c/social_manager_c/enums/xblrelationshipfilter.md)
- [XblSocialManagerCreateSocialUserGroupFromFilters](/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagercreatesocialusergroupfromfilters.md)
- [XblSocialManagerUserGroupGetFilters](/reference/live/xsapi-c/social_manager_c/functions/xblsocialmanagerusergroupgetfilters.md)
- [XblSocialRelationship](/reference/live/xsapi-c/social_c/structs/xblsocialrelationship.md)
