SetAIMSecurityProfile - Teradata Meta Data Services

Teradata Meta Data Services Programmer Guide

Product
Teradata Meta Data Services
Release Number
15.00
Language
English (United States)
Last Update
2018-09-28
Product Category
Teradata Tools and Utilities

SetAIMSecurityProfile

Purpose

The SetAIMSecurityProfile function assigns the Security Profile ID (set in the object) to the AIMs specified in the AIMList. If PropagateFlag is set to MD_PROPAGATE, the Security Profile ID in all class, property and relationship descriptions in the AIM will also be updated. You must be initialized as a super user to use this function.

Syntax

HRESULT SetAIMSecurityProfile (
	MetaObjectIDVector &AIMList,
	const short PropagateFlag);
 

Argument

In/Out

Description

AIMList

In

List of AIM object IDs.

PropagateFlag

In

Set to one of the following:

  • MD_NULL – do not update class, property and relationship descriptions.
  • MD_PROPAGATE - update the security profile ID in the class, property and relationship descriptions.