Getdst – Kofax DM API User Manual

Page 208

Advertising
background image

188 C

HAPTER

4

GetDST

GetDST

Use this method to get the document security token (DST) that the
server returns after a call to the

Execute

method of the

PCDLogin

object. You need to save the returned DST to use it in subsequent
transactions.

Syntax

PCDLogin.GetDST()

Returns

Returns a string value that contains the DST.

Usage

The DST is a unique string returned from the DM Server and is valid
while the user is logged on to the server. All subsequent transactions,
such as search requests and lookups, require the DST to verify that the
user is authorized to perform the transaction.

Example

The sample code in the

Providing Library Access

section in Chapter 1

illustrates how you can use the GetDST method in your custom
applications.

Related Items

See the

PCDLogin

object.

See the following methods:

AddLogin
Execute
SetDST

See the following properties:

ErrDescription
ErrNumber

Advertising