
DM API TOKENS 483
%TRUSTEES_ADD
%TRUSTEES_ADD
Use this token to add new entities (people, groups, etc.) to the current
trustee list.
Syntax
PCDDocObject.SetProperty(“%TRUSTEES_UPDATE”, _
“%TRUSTEES_ADD”)
Parameters
Example
'Create a document object.
Set pDocObject = CreateObject("PCDClient.PCDDocObject.1")
'Set the DM security token.
pDocObject.SetDST(strDST)
'Set the object type. Data on the MassProfile Update form shows
'the updated trustee settings.
pDocObject.SetObjectType("MassProfileUpdate")
'Set the update action so that the specified entities will be
'added to the current trustee list.
pDocObject.SetProperty("%TRUSTEES_UPDATE", "%TRUSTEES_ADD")
'Perform the update.
pDocObject.Update
Related Items
See the PCDDocObject object.
See the
SetProperty method.
See the following tokens:
%TRUSTEES_UPDATE The token identifier that indicates trustee
information is about to be updated.
%TRUSTEES_ADD The token identifier that indicates one or
more trustees is to be added to the
current list of trustees.
Comentarios a estos manuales