# `HL7v2.Segment.UAC`
[🔗](https://github.com/Balneario-de-Cofrentes/hl7v2/blob/v3.10.1/lib/hl7v2/segment/uac.ex#L1)

User Authentication Credential (UAC) segment — HL7v2 v2.7+.

Introduced in HL7 v2.7 for inter-system user authentication. Carries
credentials (e.g., Kerberos ticket, SAML assertion, user ID + secret)
when one system acts on behalf of a user in another system.

2 fields per HL7 v2.7 specification.

# `t`

```elixir
@type t() :: %HL7v2.Segment.UAC{
  extra_fields: term(),
  user_authentication_credential: term(),
  user_authentication_credential_type_code: term()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
