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

# XblPresenceGetPresenceAsync

> XblPresenceGetPresenceAsync

Gets presence info for a specific XBOX User Id.

## Syntax

```cpp theme={null}
HRESULT XblPresenceGetPresenceAsync(  
         XblContextHandle xblContextHandle,  
         uint64_t xuid,  
         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.

*xuid*   \_In\_\
Type: uint64\_t

The XBOX User ID of the user to get presence for.

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

The AsyncBlock for this operation.

### Return value

Type: HRESULT

HRESULT return code for this API operation.

## Requirements

**Header:** presence\_c.h

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

## See also

[presence\_c](https://docs.xbox.com/reference/live/xsapi-c/presence_c/presence_c_members.md)


## Related topics

- [XblPresenceGetPresenceResult](https://docs.xbox.com/reference/live/xsapi-c/presence_c/functions/xblpresencegetpresenceresult.md)
- [Getting a user's Presence](https://docs.xbox.com/services/xbox-services/community/presence/how-to/live-getting-a-users-presence.md)
- [presence_c (contents)](https://docs.xbox.com/reference/live/xsapi-c/presence_c/presence_c_members.md)
- [Optional services](https://docs.xbox.com/build/gdk-and-engines/optional-services.md)
- [Updating a user's Presence via REST](https://docs.xbox.com/services/xbox-services/community/presence/how-to/live-updating-presence-rest.md)
