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

  • 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 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.
Zobrazit stránku 369
1 2 ... 365 366 367 368 369 370 371 372 373 374 375 ... 527 528

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

Žádné komentáře