---
schema_version: "1"
id: 4d08c6276a260e733348cb4ad3caee7ba153b3e72217d194e35c7f8a5133ec3e
title: How Impersonation Works
collection: tableau
version: next
locale: en-gb
portal_url: https://docs.salesforce.com/tableau/next/en-gb/server/impers_how.md
canonical_url: https://help.tableau.com/v0.0/server/en-gb/impers_how.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 0c893f90e63adb791f4dcff1cabdd5876b9b64de3cbf6a1258136b20c5cce2cc
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/next/en-gb/server/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.