Re: Tracing sql server user logins

From: Sue Hoegemeier (Sue_H@nomail.please)
Date: 07/31/02


From: Sue Hoegemeier <Sue_H@nomail.please>
Date: Wed, 31 Jul 2002 12:58:48 -0600


Actually updatedate in syslogins is used to record the last
time the login was changed - such as changed password for
SQL Logins, changed default database, etc. It doesn't record
the last login.

-Sue

On Wed, 31 Jul 2002 11:19:14 -0700, "Manuel"
<manueljg@hotmail.com> wrote:

>Neil,
>
>It is not too late, query the Syslogins table in Master,
>look for the column UPDATEDATE, this is the one you're
>looking for, SQL Server logs the last time your user
>accessed the server. However, it will not reflect if the
>user is logged on at time you performing the query.
>
>hope this is waht you need.
>
>M



Relevant Pages

  • Re: EM does not display Login Name
    ... The syslogins table and the sysusers table will be ... then the login name is null and nothing will display ... >mentioned sp's to add users to this database. ... >entering details passed through to the script. ...
    (microsoft.public.sqlserver.security)
  • Re: Script A Login
    ... If you use SQL Logins the ID's that map the Login to the Users may not be the same on each server. ... exacutes a number of stored procedures against the database, ... The SQL Login is in the instance, not the database, so it should be unaffected by the restore. ...
    (microsoft.public.sqlserver.security)
  • Re: User creation date
    ... Are you talking about a USER or a LOGIN? ... Since you mentioned syslogins I ... If your looking for a USER then use the CreateDate in the ... > How can I find the user creation date in the SQL instance? ...
    (microsoft.public.sqlserver.security)
  • Re: how can set one password
    ... Servers on three saperate machines. ... I want my SQL logins to be ... password i want to login to three saperate servers. ...
    (microsoft.public.sqlserver.security)
  • RE: SQL Login
    ... I took the local group out of the picture and ... added the domain group to SQL logins. ... >what about if the login is a Global NT group? ...
    (microsoft.public.sqlserver.security)