Maintenance utilities > Audit Manager
define_auditdefs
Note This utility and the install_event_types utility are deprecated and will be removed in a future version. Use the Business Modeler IDE to create custom event types. For more information, see BMIDE for Data Model Design. Creates AuditDefinition objects in the Teamcenter database. It scans the input file given by the argument -f argument. Input File Format The input file contains records to define each AuditDefinition object in the database. Each record is separated by a blank line and conforms to the following format: Copy TYPE_NAME=object-type-name CLASS_NAME=object-class-name EVENT_TYPE=event-type-name PROP_COUNT=property-count /* number of PROP_NAME entries / PROP_NAME=property-list / Optional entry / PROP_NAME=property-list / Optional entry / MAX_DAY=max-days-kept MEDIA_NAME=media-name / Optional entry / HANDLER_ID=handler-id / Optional entry */ Tip You can see the list of available events in the Event Type editor of Business Modeler IDE. For more information, see BMIDE for Data Model Design. Syntax define_auditdefs [-u=user-id {-p=password | -pf=password-file} -g=group] [-v] [-f=input-file-name] [-h] Arguments -u Specifies the user ID. This must be a user with DBA privileges. Note If Security Services single sign-on (SSO) is enabled for your server, the -u and -p arguments are authenticated externally through SSO rather than being authenticated against the Teamcenter database. If you do not supply these arguments, the utility attempts to join an existing SSO session. If no session is found, you are prompted to enter a user ID and password. -p Specifies the password. This argument is mutually exclusive with the -pf argument. -pf Specifies the password file. For more information about managing password files, see Manage password files. This argument is mutually exclusive with the -p argument. -g Specifies the group associated with the user. If used without a value, the user's default group is assumed. -f Specifies the name of the text file containing the audit definition records. -v Specifies verbose mode. -h Displays help for this utility. Environment As specified in Setting up a Teamcenter command-line environment. Files As specified in Log files produced by Teamcenter. Restrictions None. Related Topics Audit Logs Management
Source: https://docs.sw.siemens.com/documentation/external/PL20251212545240207/en-US/tc_help/utilities_reference/mna1737253705286/svn1737253705693/define_auditdefs.html · retrieved Fri Jul 31 2026 00:00:00 GMT+0000 (Coordinated Universal Time)