You need to link the remote server - see here for a description http://msdn.microsoft.com/en-us/library/ms188279.aspx
You can use the following queries to find the linked servers and the logins:SELECT * FROM sys.servers
SELECT * FROM sys.linked_logins