Kofax DM API Uživatelský manuál Strana 470

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 528
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 469
450 CHAPTER 5
%QS_VIEW
%QS_VIEW
This token identifies whether or not a user has authority to view the
specified Quick Search.
Syntax
PCDDocObject.HasRight(“%QS_VIEW”, _
intAccessRights)
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 DM security token.
pDocObject.SetDST(strDST)
'Set the form object.
pDocObject.SetObjectType("cyd_qbeprof")
'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_VIEW The token that indicates the application
should report whether or not the user
has sufficient rights to view the Quick
Search.
intAccessRights The user’s access rights. The rights
mask is an unsigned 32-bit integer..
Zobrazit stránku 469
1 2 ... 465 466 467 468 469 470 471 472 473 474 475 ... 527 528

Komentáře k této Příručce

Žádné komentáře