---
title: "recordClass(fromUniqueId:)"
framework: addressbook
role: symbol
role_heading: Instance Method
path: "addressbook/abaddressbook/recordclass(fromuniqueid:)"
---

# recordClass(fromUniqueId:)

Returns the class name of the record that matches the given unique ID.

## Declaration

```swift
func recordClass(fromUniqueId uniqueId: String!) -> String!
```

## Parameters

- `uniqueId`: The unique ID of the record.

## Return Value

Return Value The name of the class of the record, for example ABPerson.
