---
title: auditSessionIdentifier
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsxpcconnection/auditsessionidentifier
---

# auditSessionIdentifier

The BSM audit session identifier for the connecting process.

## Declaration

```swift
var auditSessionIdentifier: au_asid_t { get }
```

## Discussion

Discussion This attribute may be used by the listener delegate to accept or reject connections.

## See Also

### Working with security attributes

- [processIdentifier](foundation/nsxpcconnection/processidentifier.md)
- [effectiveGroupIdentifier](foundation/nsxpcconnection/effectivegroupidentifier.md)
- [effectiveUserIdentifier](foundation/nsxpcconnection/effectiveuseridentifier.md)
