sp_helpexternlogin

(Component Integration Services only) Reports information about external login names.

Syntax

sp_helpexternlogin [server[, loginame[, rolename]]]

Parameters

Examples

Usage

sp_helpexternlogin displays all remote servers, the user’s local login name, role name, and the user’s external login name.

Add remote servers with sp_addserver. Add local logins with create login.

Permissions

Any user can execute sp_helpexternlogin. 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_addexternlogin
sp_addlogin
sp_addserver
sp_dropexternlogin
sp_helpserver