ISecurityConnection

Assembly: Metabase;

Namespace: Prognoz.Platform.Interop.Metabase;

Description

The ISecurityConnection interface contains properties and methods of connection with DB server.

Inheritance hierarchy

          ISecurityConnection

Comments

To work with specialized connection to database server, use properties and methods of the ISecurityConnection2 interface.

Properties

  Property name Brief description
Columns The Columns property returns the cursor, containing system information about fields of the specified table.
Credentials The Credentials property returns an object, containing credentials of active repository.
Driver The Driver property returns the DB driver identifier, with which this connection is established.
Indexes The Indexes property returns the cursor, containing system information about indexes of the specified table.
LogonData The LogonData property returns parameters of the security module, used when creating this connection.
Procedures The Procedures property returns the cursor, containing system information about the specified procedure.
RolesRevoke The RolesRevoke property returns the array that contains indicators of roles that a user has.
SingleUserMode The SingleUserMode property returns whether single user mode is used in database server.
Tables The Tables property returns the cursor, containing system information about the specified table.
Triggers The Triggers property returns the cursor, containing system information about triggers of the specified table.
UserIsAdmin The UserIsAdmin property returns whether current connection is created using administrator's credentials.
UserIsNT The UserIsNT property returns whether current connection is created using domain user's credentials.
UserNameDb The UserNameDb property returns the user name, from whose account the connection is established, according to user's parameters in the database.
UserNameLo The UserNameLo property returns the user name, from whose account the connection is established, according to user's parameters in the security manager.
UserRoles The UserRoles property returns a list of roles that a user can possess.
UserSid The UserSid property returns a security subject identifier in a line-oriented type.
Views The Views property returns the cursor, containing system information about the specified view.

Methods

  Method name Brief description
CreateCommand The CreateCommand method creates a new object, used for working with the DB by SQL-queries.
DbObject The DbObject method returns identifier of the object with prefix of the base that corresponds to the current repository.
Discover The Discover method returns the corresponding cursor depending on the SystemDictionary parameter.
InTransaction The InTransaction method returns an indicator of incomplete transaction.
IsDisconnected The IsDisconnected method returns whether connection with DB server is disconnected.
OpenSame The OpenSame method opens a new connection with the DB server with the same parameters as in the current connection.
StartTransaction The StartTransaction method initiates a new transaction with DB.

See also:

Metabase Assembly Interfaces