---
title: Name and Optional UID
description: Values of this syntax hold a DN followed by an optional unique identifier to distinguish the name from others with the same DN.
component: pingds
version: 8.1
page_id: pingds:schemaref:s-NameandOptionalUID
canonical_url: https://docs.pingidentity.com/pingds/8.1/schemaref/s-NameandOptionalUID.html
---

# Name and Optional UID

Values of this syntax hold a DN followed by an optional unique identifier to distinguish the name from others with the same DN.

The syntax follows this ABNF:

```
NameAndOptionalUID = distinguishedName [ SHARP BitString ]
```

Example: `uid=bjensen,ou=people,dc=example,dc=com#'0101'B`.

The syntax corresponds to the `NameAndOptionalUID` ASN.1 type defined by X.501.

|               |                                                           |
| ------------- | --------------------------------------------------------- |
| *OID*         | 1.3.6.1.4.1.1466.115.121.1.34                             |
| *Description* | Name and Optional UID                                     |
| *Origin*      | [RFC 4517](https://datatracker.ietf.org/doc/html/rfc4517) |
