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
Track, Monitor, and Log e-mail communications
Backup Exec - Byte Count vs. Capacity Discrepancy
Changing the managed servers location.
Random port flapping on Netgear 7248
ESX upgrade question
Thunderbird inexplicably crashing....
That's not contempt. THIS is contempt
Lotus Notes 6.5 certificate has expired
mysql UPDATE TABLE where field 1 IN feild 2
adding a file to windows/winsxs/.....