---
title: "dbo.sysproxylogin (Transact-SQL) | Microsoft Docs"
ms.custom: ""
ms.date: "06/10/2016"
ms.prod: sql
ms.prod_service: "database-engine"
ms.reviewer: ""
ms.technology: system-objects
ms.topic: "language-reference"
f1_keywords:
- "dbo.sysproxylogin_TSQL"
- "sysproxylogin_TSQL"
- "dbo.sysproxylogin"
- "sysproxylogin"
dev_langs:
- "TSQL"
helpviewer_keywords:
- "sysproxylogin system table"
ms.assetid: 433d33cb-bdf2-47bb-af78-2a40b7c8dfce
author: "stevestein"
ms.author: "sstein"
---
# dbo.sysproxylogin (Transact-SQL)
[!INCLUDE[tsql-appliesto-ss2008-xxxx-xxxx-xxx-md](../../includes/tsql-appliesto-ss2008-xxxx-xxxx-xxx-md.md)]
Records which [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] logins are associated with each SQL Server Agent proxy account. This table is stored in the **msdb** database.
|Column name|Data type|Description|
|-----------------|---------------|-----------------|
|**proxy_id**|**int**|ID of the [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] Agent proxy account. This value corresponds to the **proxy_id** column in the **sysproxies** table.|
|**sid**|**varbinary(85)**|Microsoft Windows *security_identifier* for the SQL Server login.|
|**principal_id**|**int**|ID of the user or group that has permission to use the proxy account for a specified subsystem step.|
|**flags**|**int**|Type of login:
**0** = Windows user or group, and [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] login.
**1** = [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] fixed system role
**2** = **msdb** database role|
## Remarks
Only members of the **sysadmin** fixed server role can access this table.
## See Also
[dbo.sysproxies (Transact-SQL)](../../relational-databases/system-tables/dbo-sysproxies-transact-sql.md)