---
title: directoryStringFirstComponentMatch
description: Compares an assertion value of DirectoryString syntax to a value whose syntax is an ASN.1 SEQUENCE with a mandatory first component of the ASN.1 DirectoryString type.
component: pingds
version: 8.1
page_id: pingds:schemaref:mr-directoryStringFirstComponentMatch
canonical_url: https://docs.pingidentity.com/pingds/8.1/schemaref/mr-directoryStringFirstComponentMatch.html
---

# directoryStringFirstComponentMatch

Compares an assertion value of DirectoryString syntax to a value whose syntax is an ASN.1 SEQUENCE with a mandatory first component of the ASN.1 DirectoryString type.

The rule evaluates to TRUE if and only if the assertion value matches the first component of the attribute value according to the `caseIgnoreMatch` matching rule.

|                    |                                                           |
| ------------------ | --------------------------------------------------------- |
| *OID*              | 2.5.13.31                                                 |
| *Names*            | directoryStringFirstComponentMatch                        |
| *Assertion syntax* | [DirectoryString](s-DirectoryString.html)                 |
| *Origin*           | [RFC 4517](https://datatracker.ietf.org/doc/html/rfc4517) |
