You can’t retrieve or set a user’s privacy settings with the Privacy service.
Permission checks
Permission checks are the primary capability that are provided by the Privacy service. These checks function by determining whether a user can perform an action with another user, or set of users. For example, if you want to know if a user can communicate with a target, the Privacy service bases its answer on a range of relevant criteria including the following scenarios.- Do both users’ settings permit this scenario?
- What is the relationship between the users?
- Is the actor on the Avoid list of the target?
Mute list
Your title can retrieve a user’s Mute list with the Privacy service. A Mute list specifies up to 250 users that the list owner doesn’t want to hear from via voice communication.The Mute list controls voice communication, but it doesn’t affect text communication.
Games aren’t allowed to add people to a user’s Mute list.
Avoid list
Your title can also retrieve a user’s Avoid list with the Privacy service. An avoid list holds up to 1,000 XBOX users that the owner has blocked to prevent communication in any form, such as voice, text, game invites, or club invites. Retrieving the Avoid list can be valuable, but checking the Avoid list is also part of all relevant permission checks. For example, if you want to know if a user can send a text message to another user, the Privacy service consults the Avoid list as part of the permission check. Your code doesn’t need to also check the Avoid list.Games aren’t allowed to add people to a user’s Avoid list.
