---
title: "serviceIdentifier(for:)"
framework: geotoolbox
role: symbol
role_heading: Instance Method
path: "geotoolbox/placedescriptor/serviceidentifier(for:)"
---

# serviceIdentifier(for:)

Retrieves the identifier for the specified service provider, if available.

## Declaration

```swift
func serviceIdentifier(for serviceProvider: String) -> String?
```

## Parameters

- `serviceProvider`: A string that represents the identifier of the service provider to search for.

## See Also

### Getting the attributes of a place descriptor

- [commonName](geotoolbox/placedescriptor/commonname.md)
- [address](geotoolbox/placedescriptor/address.md)
- [coordinate](geotoolbox/placedescriptor/coordinate.md)
- [representations](geotoolbox/placedescriptor/representations.md)
- [supportingRepresentations](geotoolbox/placedescriptor/supportingrepresentations.md)
