Functions - 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

Functions

GetAll

Purpose

Gets the values from the CMetaSecurityProfileEntry object.

Syntax

HRESULT GetAll (
	bool &isUser, 
	OBJECTID_t &ObjectID, 
	META_ACCESS_TYPES  &accessType);
 

Argument

In/Out

Description

isUser

Out

Set to “true” if the ObjectID is the ID of a user.
Set to “false” if the ObjectID is the ID of an application group.

ObjectID

Out

ID of the user or application group.

AccessType

Out

Permissions granted to the user or application group in the security profile.

SetAll

Purpose

Sets the specified values in the CMetaSecurityProfileEntry object.

Syntax

HRESULT SetAll (
	const bool isUser, const 
	OBJECTID_t ObjectID, 
	const META_ACCESS_TYPES accessType);
 

Argument

In/Out

Description

isUser

In

Set to “true” if the ObjectID is the ID of a user.
Set to “false” if the ObjectID is the ID of an application group.

ObjectID

In

ID of the user or application group to add to the security profile

AccessType

In

Permissions granted to the user or application group in the security profile.