---
title: albumName
framework: intents
role: symbol
role_heading: Instance Property
path: intents/insearchforphotosintent/albumname
---

# albumName

The name of the album that contains the photos.

## Declaration

```swift
var albumName: String? { get }
```

## Discussion

Discussion When this property contains an NSString object, your search should return only photos from the album specified by that string. Apps may register a user’s custom photo album names using the INVocabulary class. Registering custom names helps the system identify those albums when the user speaks them.

## See Also

### Getting the Search Attributes

- [dateCreated](intents/insearchforphotosintent/datecreated.md)
- [locationCreated](intents/insearchforphotosintent/locationcreated.md)
- [includedAttributes](intents/insearchforphotosintent/includedattributes.md)
- [excludedAttributes](intents/insearchforphotosintent/excludedattributes.md)
- [INPhotoAttributeOptions](intents/inphotoattributeoptions.md)
