# Automatic Linking

UAE Pass UUID or Emirates ID should be used to link the user. The service provider should maintain a reference to either values to allow the user to login.

Other attributes should always be compared & updated at every login in the service provider system as they can be changed by the user at anytime.

{% hint style="danger" %}
Note: Linking should be done based on **UUID** and **Emirates ID** only, since UAEPASS provides an option to change the Email and Mobile in UAEPASS account.&#x20;
{% endhint %}

| Local Account                                                                                                                                                   | User Profile | Action                                                                                                                                                                                                                                              |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p>Account Linking (One time activity) </p><p><strong>1 Record is Found</strong></p><p>Auto matching the user formation between UAE Pass and local account.</p> | SOP 1, 2, 3  | <p>Link user with UAEPASS using one of the unique key attributes (SPUUID, EID)</p><p></p><ul><li>SmartPass SPUUID</li><li>Verified and Unique EID  </li><li>If both Email and Mobile are verified (link with Verified Email & Mobile)    </li></ul> |
| <p>Account Linking (One time activity)</p><p>2 Records are Found</p><p>Auto matching the user information between UAE PASS and local account.</p>               | SOP 1, 2, 3  | If more than one email is found under 1 unique verified EID                                                                                                                                                                                         |
