Chat now with support
Chat with Support

Welcome, erwin customers to Quest Support Portal click here for for frequently asked questions regarding servicing your supported assets.

InTrust 11.3 - InTrust SDK Reference

IInTrustRepositoryCollection

Provides a collection of all repositories available in the InTrust organization.

Methods

Item

Gets the specified repository from a collection.

Syntax

HRESULT Item(
    [in] BSTR bstrRepositoryIdentity,
    [out, retval] IInTrustRepository**
);

Parameters
Name Type Meaning

bstrRepositoryIdentity

BSTR

A piece of information that identifies the repository. You can specify one of the following:

  • Repository name
  • Repository GUID
  • UNC path to the repository share

The Item method tries to interpret its input parameter as each of these identifiers, in that order.

 

IInTrustRepository**

Repository interface.

Add

Creates a repository with the specified properties in a collection.

Caution: For this operation to succeed, the account you are using must be an InTrust organization administrator. To configure this privilege for the account, do one of the following:

  • In InTrust Deployment Manager, click Manage | Configure Access.
  • In InTrust Manager, open the properties of the root node.
Syntax

HRESULT Add(
    [in] BSTR bstrRepositoryName,
    [in] BSTR bstrRepositoryPath,
    [in] BSTR bstrUserName,
    [in] BSTR bUserPassword,
    [in] BSTR bstrIndexServer,
    [out, retval] IInTrustRepository**
);

Parameters
Name Type Meaning

bstrRepositoryName

BSTR

Name of the repository.

bstrRepositoryPath

BSTR

UNC path to the share that contains the repository.

bstrUserName

BSTR

User name of the account to use for connection to the repository (for both searching and writing). This account must be a member of the local AMS Readers group on the InTrust server that manages the repository, specified by the bstrIndexServer parameter.

If bstrUserName is empty, the account set for the InTrust server will be used for connection.

bUserPassword

BSTR

Password of the account specified by the bstrUserName parameter.

bstrIndexServer

BSTR

Name of the InTrust server that manages the index for the repository.

 

IInTrustRepository**

Repository interface.

Remove

Removes the specified repository from the collection, deleting it from the InTrust organization configuration.

Caution: For this operation to succeed, the account you are using must be an InTrust organization administrator. To configure this privilege for the account, do one of the following:

  • In InTrust Deployment Manager, click Manage | Configure Access.
  • In InTrust Manager, open the properties of the root node.
Syntax

HRESULT Remove(
    [in] BSTR bstrRepositoryIdentity
);

Parameter
Name Type Meaning

bstrRepositoryIdentity

BSTR

A piece of information that identifies the repository. You can specify one of the following:

  • Repository name
  • Repository GUID
  • UNC path to the repository share

The Item method tries to interpret its input parameter as each of these identifiers, in that order.

_NewEnum

References repositories in a collection.

Syntax

HRESULT _NewEnum(
    [out, retval] LPUNKNOWN* pVal
);

Parameter
Name Type Meaning

pVal

LPUNKNOWN*

Access to repositories in a collection.

IInTrustRepositorySearcher

Provides repository search capabilities.

Method

Search

Runs a repository search using the specified query.

Syntax

HRESULT ID(
    [in] BSTR rel_query,
    [out] IObservable** search_object
);

Parameters
Name Type Meaning

rel_query

BSTR

Search query.

search_object

IObservable

Interface that you can subscribe to for search results.

IInTrustServer

Provides access to an InTrust server.

Methods

Name

Returns the name of the InTrust server.

Syntax

HRESULT Name(
    [out, retval] BSTR* pVal
);

Parameter
Name Type Meaning

pVal

BSTR*

Name of the InTrust server.

Organization

The InTrust organization that the InTrust server belongs to.

Syntax

HRESULT Organization(
    [out, retval] IInTrustOrganization** pVal
);

Parameter
Name Type Meaning

pVal

IInTrustOrganization**

InTrust organization interface.

IInTrustServerCollection

Provides a collection of all InTrust servers in the InTrust organization.

Methods

Item

Provides access to the specified InTrust server.

Syntax

HRESULT Item(
    [in] BSTR bstrServerIdentity,
    [out, retval] IInTrustServer**
);

Parameters
Name Type Meaning

bstrServerIdentity

BSTR

Name of the InTrust server.

 

IInTrustServer**

InTrust server interface.

_NewEnum

References InTrust servers in a collection.

Syntax

HRESULT _NewEnum(
    [out, retval] LPUNKNOWN* pVal
);

Parameter
Name Type Meaning

pVal

LPUNKNOWN*

Enumerated InTrust servers.

Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating