Kofax DM API Bedienungsanleitung Seite 441

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 528
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 440
DM API TOKENS 421
%PR_ACCESS_CONTROL
%PR_ACCESS_CONTROL
This token identifies whether or not a user has authority to control the
access of other users to the current document. If the
HasRight method
indicates that the current user’s rights include access control, then the
functionality supported by the
GrantRight and RevokeRight
methods are enabled for this user.
Syntax
PCDDocObject.HasRight(“%PR_ACCESS_CONTROL”, _
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 the errors.
checkError(pDocObject, "ERROR_CREATESEARCH")
'Set the user's access security (DST), and the FRM file.
pDocObject.SetDST(strDST)
'Get the object type (form).
pDocObject.SetObjectType("cyd_defprof")
'Set the library name and document number/version.
pDocObject.SetProperty("%TARGET_LIBRARY", library)
pDocObject.SetProperty("%OBJECT_IDENTIFIER", docnumber)
%PR_ACCESS_CONTROL The token that indicates the application
should report whether or not the user
has sufficient rights to control access to
this document.
intAccessRights The user’s access rights. The rights
mask is an unsigned 32-bit integer.
Seitenansicht 440
1 2 ... 436 437 438 439 440 441 442 443 444 445 446 ... 527 528

Kommentare zu diesen Handbüchern

Keine Kommentare