Kofax DM API Manuel d'utilisateur Page 370

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 528
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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.
Vue de la page 369
1 2 ... 365 366 367 368 369 370 371 372 373 374 375 ... 527 528

Commentaires sur ces manuels

Pas de commentaire