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

Adds security accounts in the current database for Microsoft® SQL Server™ logins or Microsoft Windows NT® users or groups, and enables accounts to be granted permissions to perform activities in the database 

LoginInfos: Pointer to array of TLoginInfo 

Count: Number of array elements 

This function uses LoginName, UserName, Role members of TLoginInfo 

LoginName: SQL Server's login account name 

UserName: Database user name 

Role: Database role of the new user

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