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

Removes security accounts from the current database. 

LoginInfos: Pointer to array of TLoginInfo 

Count: Number of array element 

This function uses UserName member of TLoginInfo 

UserName: Is the name of the account to be removed. UserName can be the name of a Microsoft® SQL Server™ user, or Microsoft Windows NT® user or group, and must exist in the current database. When specifying a Windows NT user or group, specify the name the Windows NT user or group is known by in the database

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