To generate actor context scripts

At a Landmark command prompt, type

secadm generate actorcontext dataarea [--byactor actor|--bykeyfield keyfield] outputFile

where

Parameter Description
actorcontext Generates a secadm script for actor context assignment.
--byactor actor

Generates the script based on a specified actor.

For example:

secadm generate actorcontext gen --byactor user1 contextbyactor.secadm

--bykeyfield keyfield

Generates the script based on a specified key field.

For example:

secadm generate actorcontext hcm --bykeyfield HROrganization contextbykeyfield.secadm

dataarea The data area that the actor context records applies to.
outputFile The name of the script file to be created.