Displays or changes remote login options.
sp_remoteoption [remoteserver, loginame, remotename, optname, {true | false}]
where
To display a list of the remote login options, execute sp_remoteoption with no parameters.
Only the system administrator can set or turn off particular server options. For details on remote login options, see the Microsoft SQL Server Administrator's Companion.
This example lists the remote login options:
sp_remoteoption go Settable remotelogin options. remotelogin_option -------------------------------------------- trusted
This example defines the remote login from the remote server ACCOUNTS to be trusted (the password will not be checked).
sp_remoteoption ACCOUNTS, salesmgr, chris, trusted, TRUE
This example defines the remote login from the remote server ACCOUNTS to be untrusted (the password will be checked).
sp_remoteoption ACCOUNTS, salesmgr, chris, trusted, FALSE
Execute permission without parameters (display options only) defaults to the public group. Only the system administrator can use sp_remoteoption with parameters (to change an option).
master.dbo.sp_values, master.dbo.sysremotelogins, master.dbo.syssrvers
sp_helpremotelogin |