MetaGroupInfo Class - 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

MetaGroupInfo Class

The IMetaGroupInfo interface is used to create, update, read or delete a CMetaApplicationGroup class. See Chapter 13: “Security Classes” for more detailed information.

 

Property

Type

Description

Common Properties

 

See “Common Properties.”

UserList

IMetaUserInfoList

Returns the IMetaUserInfo objects (that is, MDS Users) for this group (read only).

Common Properties

See all attributes from “Common Properties” except SecurityProfileID and OwnerID.

get_UserList

Purpose:

Gets the list of users in the application group (read only).

Syntax:

HRESULT get_UserList(
[out, retval] IMetaUserInfoList * *pVal);

Delete

Purpose:

Use this method to delete the application group object from the MDS repository.

Requirements:

The object identifier must be set before calling the Delete method.

Syntax:

HRESULT Delete();

Read

Purpose:

Use this method to read the application group object from the MDS repository.

Requirements:

The object identifier must be set before calling the Read method.

Syntax:

HRESULT Read();

Write

Purpose:

Use this method to update or write the application group object to the MDS repository.

Requirements:

The object identifier must be set before calling the Write method.

Syntax:

HRESULT Write();

AddUser

Purpose:

Use this method to add the specified user to the application group object.

Requirements:

The object identifier must be set before calling the AddUser method.

Syntax:

HRESULT AddUser(
[in] IMetaUserInfo *IpUser);

RemoveUser

Purpose:

Use this method to remove the specified user from the application group object.

Requirements:

The object identifier must be set before calling the RemoveUser method.

Syntax:

HRESULT RemoveUser(
[in] IMetaUserInfo *lpUser);