select * from master.dbo.sysloginsWhere createdate >=getdate()-X
Select * from sys.server_principals Where create_date >= GETDATE()-X