ITDConnection2 Interface
Description
Represents a single server connection.
Public Methods
Public Method ChangePasswordDeprecated. Changes the password for the currently logged in user.
Public Method ConnectConnects the logged-in user to the specified project in the domain.
Public Method ConnectToVCSAsObsolete. Do not invoke.
Public Method DisconnectDisconnects the user from the currently connected project.
Public Method DisconnectProjectDisconnects from the project.
Public Method GetLicensesAllocates multiple licenses types according to the LicensesType parameter.
Public Method GetLicenseStatusThe license status for the specified client type.
Public Method GetTDVersionThe major and minor versions of the OTA API.
Public Method InitConnectionExInitializes the connection.
Public Method Login

Authorizes the user. On success, the user is logged in and can connect to projects.

In ALM 14.x, the authorization is not handled by ALM but by an external Identity Manager (IdM) and Identity Provider (IdP).

The Login method is supported for backward compatibility and requires referencing IdmClientSdk.dll and IdmSdkWrapper.dll.

To take advantage of the new authentication mechanism, develop your own authentication flow to acquire a LWSSO token from the IdP and IdM that manage authentication (see Acquire an authentication token to use for ALM APIs). Use the token you acquire to call InitConnectionWithCookiesEx Method instead of using this Login method.

Public Method LogoutTerminates the user's session on this TDConnection.
Public Method PurgeRunsDeletes the specified runs.
Public Method ReleaseConnectionReleases the COM pointer created when the connection is initialized.
Public Method SendMailSends Mail.
Public Method SynchronizeFollowUpsObsolete. Do not invoke.
Public Properties
Public Property ActionPermissionThe ActionPermission object for this connection.
Public Property AlertManagerThe AlertManager object for this connection.
Public Property AuditPropertyFactoryThe global AuditProperty factory, not associated with a specific entity.
Public Property AuditRecordFactoryThe global AuditRecord factory, not associated with a specific entity.
Public Property BugFactoryThe Bug Factory object for this connection.
Public Property CheckoutRepositoryThe path of the checkout repository.
Public Property CommandThe Command object for this connection.
Public Property CommonSettingsThe Settings object for all users in this connection.
Public Property ComponentFolderFactoryThe Component Folder Factory object for this connection.
Public Property ConnectedChecks if the Open Test Architecture API server connection is initialized.
Public Property CustomizationThe Customization object for this connection.
Public Property DBNameThe name of the database.
Public Property DBTypeThe database type.
Public Property DirectoryPathThe path of the server side repository directory for the database repository type.
Public Property DomainNameThe current domain.
Public Property DomainsListThe domain names for this site.
Public Property ExtendedStorageDisabled by default security settings. Use the entity-level extended storage property.
Public Property FieldsA list of fields for the table specified in the DataType argument.
Public Property GraphBuilderThe GraphBuilder object for the connection.
Public Property HostFactoryThe Hosts Factory object for this connection.
Public Property HostGroupFactoryThe HostGroupFactory object for this connection.
Public Property IgnoreHtmlFormatIndicates if formatted memo and description fields are returned as plain text without HTML tags.
Public Property IsSearchSupportedChecks if the search function is enabled for the project.
Public Property LoggedInChecks if the user is currently logged in on this TDConnection.
Public Property MailConditionsThe TDMailConditions object for this connection.
Public Property ModuleVisibleChecks if the specified module is visible to the connected user. This property is used for Quality Center UI programming and has no function in third-party applications.
Public Property ProductInfoAn IProductInfo reference pointing to the current build information.
Public Property ProjectConnectedChecks if the TDConnection is connected to a project.
Public Property ProjectNameThe name of the connected project.
Public Property ProjectPropertiesThe ProjectProperties object for this connection.
Public Property ProjectsListThe projects that are available in the domain to which Quality Center is connected.
Public Property ProjectsListExThe projects available within the specified domain.
Public Property ReportRoleThe report role of the connected user.
Public Property ReqFactoryThe ReqFactory object for this connection.
Public Property RulesThe RuleManager object for this connection.
Public Property RunFactoryThe RunFactory object for this connection.
Public Property ServerNameThe name of the connected Open Test Architecture API server.
Public Property ServerTimeThe time and date of the application server.
Public Property ServerURLThe URL of the connected server.
Public Property TDParamsGets the value of the parameter whose name is specified by Request.
Public Property TestFactoryThe Test Factory object for this connection.
Public Property TestRepositoryThe path of the tests directory of the connected project.
Public Property TestSetFactoryThe Test Set Factory object for this connection.
Public Property TestSetTreeManagerThe TestSetTreeManager object for this connection.
Public Property TreeManagerThe TreeManager object for the system tree.
Public Property TSTestFactoryThe factory that manages test instances in test sets.
Public Property UserGroupsListThe names of the user groups of the currently connected project.
Public Property UserNameThe user connected to the project.
Public Property UserSettingsThe Settings object for the logged-on user.
Public Property UsersListThe names of the users of the currently connected project.
Public Property UsingProgressIndicates if a progress bar is displayed.
Public Property VcsDbRepositoryThe path of the VCS database of the connected project.
Public Property VisibleDomainsThe list of domain names that the current logged in user is permitted to view.
Public Property VisibleProjectsThe list of projects in the specified domain that the current logged in user is allowed to connect to.
See Also