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

Creates a new Microsoft® SQL Server™ role in the current database. 

AccountInfos: Pointer to array of TLoginInfo 

Count: Number of array elements 

This function uses Role, LoginName members of TLoginInfo 

Role: Database role to create 

LoginName: New role owner.

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