---
name: "sasl_auxprop_getctx"
section: "3"
platform: "macos"
package: "passwordserver_sasl"
version: "215"
release: "macOS 26.5"
platforms: ["linux", "macos"]
url: "https://new.carta.tech/sasl_auxprop_getctx"
---

# sasl\_auxprop\_getctx(3)

Acquire an auxiliary property context

## NAME

sasl\_auxprop\_getctx - Acquire an auxiliary property context

## SYNOPSIS

```
#include <sasl/sasl.h>

int sasl_auxprop_getctx(sasl_conn_t *conn)
```

## DESCRIPTION

**sasl\_auxprop\_getctx** will return an auxiliary property context for the given sasl\_conn\_t on which the functions described in [sasl\_auxprop(3)](/sasl_auxprop/3.md) can operate.

*conn* the sasl\_conn\_t for which the request is being made.

## RETURN VALUE

Returns a pointer the the context on success.  Returns NULL on failure.

## CONFORMING TO

RFC 4422

## SEE ALSO

[sasl(3)](/sasl/3.md), [sasl\_auxprop(3)](/sasl_auxprop/3.md), [sasl\_auxprop\_request(3)](/sasl_auxprop_request/3.md)
