> ## Documentation Index
> Fetch the complete documentation index at: https://developer.onetrust.com/llms.txt
> Use this file to discover all available pages before exploring further.

# IAB CCPA US Privacy String

# Overview

The California Consumer Privacy Act (CCPA) was enacted to provide California consumers with greater transparency and control over their personal information.

Initially prompted by regulation in the California Consumer Privacy Act (CCPA), the IAB's US Privacy String were created to support compliance with the CCPA.  For more information, consider reviewing the following IAB CCPA's resources:

* [About the IAB CCPA](https://www.iab.com/guidelines/ccpa-framework/)
* [IAB CCPA US Privacy String (GitHub)](https://github.com/InteractiveAdvertisingBureau/USPrivacy/blob/master/CCPA/US%20Privacy%20String.md#us-privacy-string-format)
* [IAB CCPA US Privacy API (GitHub)](https://github.com/InteractiveAdvertisingBureau/USPrivacy/blob/master/CCPA/USP%20API.md#in-app-support)

## What this article covers

* How to implement the **Latest** solution (SDK versions 6.12.0+)

***

## Implement the US Privacy String (Latest)

> Available for OneTrust SDK versions 6.12.0+

### Prerequisites

In order to setup US Privacy String on your app, you will first need to follow the set up guidance for [Configuring the CCPA US Privacy String](https://developer.onetrust.com/sdk/config/templates/iab-ccpa-us-privacy-string) in your OneTrust tenant.

### How It Works

With this latest implementation, there is no SDK code for the app to call to initialize or set the IAB US Privacy String.  The SDK handles it automatically based on the configuration in the OneTrust tenant.

### Access the US Privacy String

Per IAB Standards, the US Privacy String is saved to UserDefaults under the `IABUSPrivacy_String` key.

```C#
//C#
var ccpaString = Preferences.Get("IABUSPrivacy_String","");

```