Hi ,
I need a query for getting the list of users in a server(1 application) and list of logins as well .
use <userdefined database>
go
select count(*) from sysusers
go
select count(*) from syslogins
go
is the above statements are right or wrong ,if not , please guide me in getting the count of users and logins from the current server or db.
I need a query for getting the list of users in a server(1 application) and list of logins as well .
use <userdefined database>
go
select count(*) from sysusers
go
select count(*) from syslogins
go
is the above statements are right or wrong ,if not , please guide me in getting the count of users and logins from the current server or db.