Re: Creating Windows Authenticated User
From: Dejan Sarka (dejan_please_reply_to_newsgroups.sarka_at_avtenta.si)
Date: 11/21/03
- Previous message: Mark Vergara: "Creating Windows Authenticated User"
- In reply to: Mark Vergara: "Creating Windows Authenticated User"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 21 Nov 2003 11:25:02 +0100
Use sp_grantlogin for Win users - you grant them access, you don't create
them:
EXEC sp_grantlogin 'Corporate\BobJ'
-- Dejan Sarka, SQL Server MVP Please reply only to the newsgroups. "Mark Vergara" <markvergara007@hotmail.com> wrote in message news:OOOF27#rDHA.2456@TK2MSFTNGP12.phx.gbl... > Hi, > > I want to know how to create a Windows Authenticated user > because I always use this command to create a Microsoft SQL Server > Login > > sp_addlogin [ @loginame = ] 'login' > [ , [ @passwd = ] 'password' ] > [ , [ @defdb = ] 'database' ] > [ , [ @deflanguage = ] 'language' ] > [ , [ @sid = ] sid ] > [ , [ @encryptopt = ] 'encryption_option' ] > > Is there a code or script that use to create a Windows User ? > > Thanks > Mark Vergara > Programmer > > >
- Previous message: Mark Vergara: "Creating Windows Authenticated User"
- In reply to: Mark Vergara: "Creating Windows Authenticated User"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|