SQL Server/T-SQL Tutorial/System Functions/sp GrantLogin
A statement that grants SQL Server access to a Windows user account
<source lang="sql">
EXEC sp_GrantLogin [Accounting\JaneSmith]</source>
<source lang="sql">
EXEC sp_GrantLogin [Accounting\JaneSmith]</source>