sp_helpremotelogin

Reports information about a particular remote server’s logins or about all remote server logins.

Syntax

sp_helpremotelogin [remoteserver[, remotename]]

Parameters

Examples

Usage

sp_helpremotelogin reports on the remote logins for the specified server, when remoteserver is given, or on all servers, when no parameter is supplied.

Permissions

Any user can execute sp_helpremotelogin. Permission checks do not differ based on the granular permissions settings.

Auditing

Values in event and extrainfo columns from the sysaudits table are:

InformationValues
Event

38

Audit option

exec_procedure

Command or access audited

Execution of a procedure

Information in extrainfo
  • Roles – Current active roles

  • Keywords or options – NULL

  • Previous value – NULL

  • Current value – NULL

  • Other information – All input parameters

  • Proxy information – Original login name, if set proxy in effect

Related reference
sp_addremotelogin
sp_dropremotelogin
sp_helpserver