Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

sys.fn_translate_permissions (Transact-SQL)

New: 14 April 2006

Translates the permissions bitmask returned by SQL Trace into a table of permissions names.


sys.fn_translate_permissions ( level , perms )
level

The kind of securable to which the permission is applied. nvarchar(60).

perms

A bitmask returned in the permissions column. bigint.

The value returned in the permissions column of a SQL Trace is an integer representation of a bitmask used by SQL Server to calculate effective permissions. Each of the 21 kinds of securables has its own set of permissions with corresponding numerical values. sys.fn_translate_permissions translates this bitmask into a table of permissions names.

Requires membership in the public role.

table

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.