Kofax DM API Manual de usuario Pagina 449

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 528
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 448
DM API TOKENS 429
%PR_CONTENT_RETRIEVE
%PR_CONTENT_RETRIEVE
This token identifies whether or not a user has authority to retrieve the
content of the current document.
Syntax
PCDDocObject.HasRight(“%PR_CONTENT_RETRIEVE”, _
AccessRights)
Parameters
Usage
The HasRight method describes the access rights setting for this token.
See its discussion of Usage on page 240.
Example
'Create a doc object.
pDocObject = CreateObject("PCDClient.PCDDocObject.1")
'Check for errors.
checkError(pDocObject, "ERROR_CREATESEARCH")
'Set the user's access security (DST), and the FRM file.
pDocObject.SetDST(strDST)
'Set the object type.
pDocObject.SetObjectType("cyd_defprof")
'Set the library name and and document number/version.
pDocObject.SetProperty("%TARGET_LIBRARY", library)
pDocObject.SetProperty("%OBJECT_IDENTIFIER", docnumber)
pDocObject.SetProperty("%VERSION_ID", version)
'Get the requested information.
pDocObject.Fetch()
%PR_CONTENT_RETRIEVE The token that indicates the application
should report whether or not the user
has sufficient rights to retrieve the
content of the document.
intAccessRights The user’s access rights. The rights
mask is an unsigned 32-bit integer.
Vista de pagina 448
1 2 ... 444 445 446 447 448 449 450 451 452 453 454 ... 527 528

Comentarios a estos manuales

Sin comentarios