Kofax DM API Manual de usuario Pagina 370

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 528
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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.
Vista de pagina 369
1 2 ... 365 366 367 368 369 370 371 372 373 374 375 ... 527 528

Comentarios a estos manuales

Sin comentarios