event classes
#event-classes#audit-add-db-user-event-class

Audit Add DB User Event Class

The event class occurs whenever a login is added or removed as a database user to a database.

The

event class occurs whenever a login is added or removed as a

database user to a database. This event class is used for the

,

,

, and

stored procedures.

This event class may be removed in a future version of SQL Server. It is recommended that you

use the

event class instead.

Description

Name of the client application that created the

connection to an instance of SQL Server. This

column is populated with the values passed by

the application rather than the displayed name

of the program.

10

Yes

ID assigned by the host computer to the

process where the client application is running.

This data column is populated if the client

process ID is provided by the client.

9

Yes

Indicator of whether a column permission was

set. Parse the statement text to determine

which permissions were applied to which

columns.

44

Yes

ID of the database specified by the USE

database

statement or the default database if

no USE

database

statement has been issued for

a given instance. SQL Server Profiler displays

the name of the database if the

data column is captured in the trace and the

server is available. Determine the value for a

database by using the DB_ID function.

3

Yes

Name of the database where the username is

being added or removed.

35

Yes

Expand table