Kofax DM API Instrukcja Użytkownika Strona 466

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 528
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 465
446 CHAPTER 5
%QS_DELETE
%QS_DELETE
This token identifies whether or not a user has authority to delete a
Quick Search.
Syntax
PCDDocObject.HasRight(“%QS_DELETE”, _
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 user's access security (DST).
pDocObject.SetDST(strDST)
'Set the name of 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()
%QS_DELETE The token that indicates the application
should report whether or not the user
has sufficient rights to delete the
specified Quick Search.
intAccessRights The user’s access rights. The rights
mask is an unsigned 32-bit integer.
Przeglądanie stron 465
1 2 ... 461 462 463 464 465 466 467 468 469 470 471 ... 527 528

Komentarze do niniejszej Instrukcji

Brak uwag