Kofax DM API Instrukcja Użytkownika Strona 481

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 528
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 480
DM API TOKENS 461
%RIGHT8
%RIGHT8
This token identifies whether or not a user has authority to assign a
document or record to a file.
Syntax
PCDDocObject.HasRight(“%RIGHT9”, _
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), 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()
%RIGHT9 The token that indicates the application
should report whether or not the user
has sufficient rights to assign a
Document or Record to a File.
intAccessRights The user’s access rights. The rights
mask is an unsigned 32-bit integer.
Przeglądanie stron 480
1 2 ... 476 477 478 479 480 481 482 483 484 485 486 ... 527 528

Komentarze do niniejszej Instrukcji

Brak uwag