UpdatePermission - Teradata Meta Data Services

Teradata Meta Data Services Programmer Guide

Product
Teradata Meta Data Services
Release Number
15.00
ft:locale
en-US
ft:lastEdition
2018-09-28
Product Category
Teradata Tools and Utilities

UpdatePermission

Purpose

The UpdatePermission function changes the permission for a user or application group in the profile.

Requirements

The application must issue a WriteObject to write the change to the MDS repository.

Syntax

HRESULT UpdatePermission (
	const bool IsUser, 
	const OBJECTID_t ObjectID, 
	const short AccessType);
 

Argument

In/Out

Description

IsUser

In

Set to "true" if the ObjectID is that of a user.
Set to "false if the ObjectID is that of an application group.

ObjectID

In

ID of user or application group to remove from the profile.

AccessType

In

Access Type setting for the user or group.