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

# XblPrivacyGetAvoidListAsync

> XblPrivacyGetAvoidListAsync

Get the list of Xuids the calling user should avoid during multiplayer matchmaking.

## Syntax

```cpp theme={null}
HRESULT XblPrivacyGetAvoidListAsync(  
         XblContextHandle xblContextHandle,  
         XAsyncBlock* async  
)  
```

### Parameters

*xblContextHandle*   \_In\_\
Type: [XblContextHandle](https://docs.xbox.com/reference/live/xsapi-c/types_c/handles/xblcontexthandle.md)

XBOX live context for the local user.

*async*   \_In\_\
Type: XAsyncBlock\*

The AsyncBlock for this operation.

### Return value

Type: HRESULT

HRESULT return code for this API operation.

## Remarks

Call [XblPrivacyGetAvoidListResultCount](https://docs.xbox.com/reference/live/xsapi-c/privacy_c/functions/xblprivacygetavoidlistresultcount.md) and [XblPrivacyGetAvoidListResult](https://docs.xbox.com/reference/live/xsapi-c/privacy_c/functions/xblprivacygetavoidlistresult.md) upon completion to get the result.

## Requirements

**Header:** privacy\_c.h

**Library:** Microsoft.Xbox.Services.142.C.lib or Microsoft.Xbox.Services.143.C.lib

## See also

[privacy\_c](https://docs.xbox.com/reference/live/xsapi-c/privacy_c/privacy_c_members.md)


## Related topics

- [XblPrivacyGetAvoidListResult](https://docs.xbox.com/reference/live/xsapi-c/privacy_c/functions/xblprivacygetavoidlistresult.md)
- [XblPrivacyGetAvoidListResultCount](https://docs.xbox.com/reference/live/xsapi-c/privacy_c/functions/xblprivacygetavoidlistresultcount.md)
- [privacy_c (contents)](https://docs.xbox.com/reference/live/xsapi-c/privacy_c/privacy_c_members.md)
- [Privacy and permissions overview](https://docs.xbox.com/services/xbox-services/fundamentals/identity/privacy/live-privacy-overview.md)
- [XblPrivacyAddBlockListChangedHandler](https://docs.xbox.com/reference/live/xsapi-c/privacy_c/functions/xblprivacyaddblocklistchangedhandler.md)
