Skip to main content

XblSocialRelationship

Represents the relationship between the user and another XBOX user.

Syntax

Members

xboxUserId
Type: uint64_t
The person’s XBOX user identifier. isFavorite
Type: bool
Indicates whether the person is one that the user cares about more. Since users can have a very large number of people in their people list, favorite people should be prioritized first in experiences and shown before others that are not favorites. isFriend
Type: bool
Indicates whether there exists a mutual follower/following relation between a user and another XBOX User isFollowingCaller
Type: bool
Does not reflect a follower/following relationship, is currently kept for backwards compatibility purposes. The value of this field is determined by the value of ‘isFriend’ within a XblSocialRelationship socialNetworks
Type: const char**
A UTF-8 encoded collection of strings indicating which social networks this person has a relationship with. socialNetworksCount
Type: size_t
The count of social networks strings in the socialNetworks array.

Argument of

XblSocialRelationshipResultGetRelationships

Requirements

Header: social_c.h

See also

social_c
Last modified on August 20, 2026