Links
TADOSqlManagerQuery Component References
TADOSqlManagerQuery::CreateLogins Method
__fastcall bool CreateLogins(TLoginInfo* LoginInfos, int Count);

Creates new Microsoft® SQL Server™ logins that allows a user to connect to an instance of SQL Server using SQL Server Authentication. 

LoginInfos: Pointer to array of TLoginInfo 

Count: Number of array elements 

This function uses LoginName, Password, DefaulDatabase, Role members of TLoginInfo 

LoginName: SQL Server's login account name 

Password: Password 

DefaultDatabase: Default database for the login 

Role: Server role of the new login

Copyright (c) 2006. All rights reserved.
What do you think about this topic? Send feedback!