Microsoft
Software
Hardware
Network
Question : test login/user
without manually connecting and testing, is it possible for a sa to test if the login/user has connect privileges fine (if password works ok etc) through t-sql code? basically something equivalent to 'test' button in ssis..
thanks
Answer : test login/user
Ok, Hope you want to check from sa login right. In that case, then you can run the script below
select * from sys.syslogins
where hasaccess = 1
and sid = SUSER_ID ('name')
If a row is returned, then the login has connect privileges else it is not.
Random Solutions
Turn off the UAC
import emal from and to Thunderbird
Access Report Using '=Format$' asks for Parameter when Opened
mcafee EPO script to remove agent and virusscan
Unable to issue commands to Tivoli Storage Manager 6.1 Server using the Administration Center Console
Reading data off Raid 0
HELO server unrecognized command
magento limiting number of returned items in product collection call
XPages: can't get a simple dialog box working
Restore default wireless connection on laptop