Re: Check validity of NT username
From: Mike Epprecht \(SQL MVP\) (mike_at_epprecht.net)
Date: 06/02/05
- Next message: Mark J. McGinty: "Re: How determine if user is connected and his/her username?"
- Previous message: Dazza: "Re: Backup questions"
- In reply to: Andy: "Check validity of NT username"
- Next in thread: Andy: "Re: Check validity of NT username"
- Reply: Andy: "Re: Check validity of NT username"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 2 Jun 2005 22:35:29 +0200
sp_validatelogins
>From BOL:
Reports information about orphaned Microsoft® Windows NT® users and groups
that no longer exist in the Windows NT environment but still have entries in
the Microsoft SQL ServerT system tables.
-- -------------------------------- Mike Epprecht, Microsoft SQL Server MVP Zurich, Switzerland IM: mike@epprecht.net MVP Program: http://www.microsoft.com/mvp Blog: http://www.msmvps.com/epprecht/ "Andy" <Andy@discussions.microsoft.com> wrote in message news:9F2B48E4-2C7C-4CB4-BA36-CAD604D9401A@microsoft.com... > Is there a stored procedure that can be run where you pass in a NT > username > and it tells you if it is valid or not? I would like to do this because > we > have users setup with access to our SQL Servers and as somebody leaves the > company we want to remove their login. Something like > > sp_ntusername 'domain\username'???? > > Thanks
- Next message: Mark J. McGinty: "Re: How determine if user is connected and his/her username?"
- Previous message: Dazza: "Re: Backup questions"
- In reply to: Andy: "Check validity of NT username"
- Next in thread: Andy: "Re: Check validity of NT username"
- Reply: Andy: "Re: Check validity of NT username"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]