Kofax DM API Instrukcja Użytkownika Strona 370

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 528
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 369
350 CHAPTER 5
%EFFECTIVE_RIGHTS
%EFFECTIVE_RIGHTS
Each document can be accessed by many users, and it can be
customized. Using the Access control on the profile form, an author or
document administrator can grant various access permissions to other
users.
Syntax
PCDDocObject.GetReturnProperty( _
“%EFFECTIVE_RIGHTS”)
Parameters
Usage
The HasRight method lists the tokens that %EFFECTIVE_RIGHTS
supports. See the 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 DM security (DST).
pDocObject.SetDST(strDST)
'Set the object type.
pDocObject.SetObjectType("cyd_defprof")
'Set the library name, document number, and version.
pDocObject.SetProperty("%TARGET_LIBRARY", library)
pDocObject.SetProperty("%OBJECT_IDENTIFIER", docnumber)
pDocObject.SetProperty("%VERSION_ID", version)
'Get the requested information.
pDocObject.Fetch()
%EFFECTIVE_RIGHTS The token identifier that requests the
application to provide the access rights
that the current document allows for the
current user.
Przeglądanie stron 369
1 2 ... 365 366 367 368 369 370 371 372 373 374 375 ... 527 528

Komentarze do niniejszej Instrukcji

Brak uwag