sys.syspermissions (Transact-SQL)

 

Contains information about permissions granted and denied to users, groups, and roles in the database.

System_CAPS_ICON_important.jpg Important


This SQL Server 2000 system table is included as a view for backward compatibility. We recommend that you use the current SQL Server system views instead. To find the equivalent system view or views, see Mapping System Tables to System Views (Transact-SQL). This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

Applies to: SQL Server (SQL Server 2008 through current version).
Column nameData typeDescription
idintID of the object for object permissions.

0 = Statement permissions.
granteesmallintID of the user, group, or role affected by the permission.
grantorsmallintID of the user, group, or role that granted or denied the permission.
actaddsmallintIdentified for informational purposes only. Not supported. Future compatibility is not guaranteed.
actmodsmallintIdentified for informational purposes only. Not supported. Future compatibility is not guaranteed.
seladdvarbinary(4000)Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.
selmodvarbinary(4000)Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.
updaddvarbinary(4000)Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.
updmodvarbinary(4000)Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.
refaddvarbinary(4000)Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.
refmodvarbinary(4000)Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.

Mapping System Tables to System Views (Transact-SQL)
Compatibility Views (Transact-SQL)

Community Additions

ADD
Show: