SaLogin Property

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.

The SaLogin property returns TRUE if the login used to establish a connection is a member of the sysadmin security role.

Syntax

object.SaLogin

Parts

  • object
    An expression that evaluates to an object in the Applies To list

Data Type

Boolean

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetSaLogin(LPBOOL pRetVal);