Links
TADOSqlManagerQuery Component References
TADOSqlManagerQuery::GetLoginProperties Method
__fastcall bool GetLoginProperties(TTntStringList* LoginProperties, WideString LoginName, bool DBAccess);

Provides information about login and the associated users in each database. 

LoginProperties: Login property list 

LoginName: Login name 

DBAccess: If true, report users and aliases associated with login name in each database 

After return, LoginProperties will contain XML data in the following format:

  • <Login>
    • <Name>
    • <DefaultDatabase>
    • <DefLangName></DefLangName>
    • <IsUser></IsUser>
    • <IsRemote></IsRemote>
    • <Databases>
      • <DATABASENAME>
        • <DBRole></DBRole> or
        • <UserName></UserName>
      • </DATABASENAME>
    • </Databases>
  • </Login>
Copyright (c) 2006. All rights reserved.
What do you think about this topic? Send feedback!