SQLServer.IntegratedSecurity Object
Gives a Windows NT group or user account access to SQL Server.
IntegratedSecurity.GrantNTLogin (
[Account :=] strAccount,
[[LoginType :=] tLoginType] )
HRESULT pIntegratedSecurity->GrantNTLogin (
SQLOLE_LPCSTR strAccount,
SQLOLE_INTSECLOGIN_TYPE tLoginType =
SQLOLEIntSecLogin_User );
Element | Type | Description |
---|
strAccount | String | Windows NT group or user account |
tLoginType | SQLOLE_INTSECLOGIN_TYPE | Login type |
xp_grantlogin