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.


object
.SaLogin

object

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

Boolean

Read-only

HRESULT GetSaLogin(LPBOOL pRetVal);

Community Additions

ADD
Show: