---
schema_version: "1"
id: 9fab4f803555bb054bd0429403229bf91a33a4f60063a43deaa7a1c2ee8f4d3e
title: How Impersonation Works
collection: tableau
version: current
locale: en-gb
portal_url: https://docs.salesforce.com/tableau/current/en-gb/server-linux/impers_how.md
canonical_url: https://help.tableau.com/current/server-linux/en-gb/impers_how.htm
source_site: help.tableau.com
content_type: documentation
content_hash: c709d3d49bd2021b5269725f906afd44d538775605b27bacbd2737a9c73331c2
description: Understand how SQL Server database user impersonation works in Tableau Server.
---
[Skip to main content](#main-content)

# How Impersonation Works

Here’s an illustration of how database user impersonation works:

![A diagram that illustrates how Tableau Server and SQL Server interact to impersonate workbook viewers.](/tableau/current/en-gb/server-linux/en-gb/Img/impersonate.png)

In the above illustration, Jane Smith (MyCo\\jsmith) is a West Coast sales representative and Henry Wilson (MyCo\\hwilson) covers the East. In the SQL Server database, the account permissions for Jane's account, MyCo\\jsmith, only give her access to West Coast data. Henry's account, MyCo\\hwilson, can only access data for the East Coast.

A view has been created that displays data for the entire country. It has a live connection to a SQL Server database. Both users sign in to Tableau Server and click the view. Tableau Server connects to SQL Server using a database account with IMPERSONATE permission for each user's database account. This account acts on behalf of each user's database account.

When the view displays, it is restricted by each user's individual database permissions: Jane sees only the West Coast sales data, Henry sees only the East Coast data.