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

ChangePassword

Purpose

The ChangePassword function changes the password of the user.

Requirements

Only the user or a super user can change the password.

The name of the user must be set in the object. OldPassword must be the current password for the user unless the logged on user is a super user.

Note: If the logged on user is a super user, OldPassword is not required to change any user’s password.

Syntax

HRESULT ChangePassword(
	LPCTSTR OldPassword, 
	LPCTSTR NewPassword);
 

Argument

In/Out

Description

OldPassword

In

Password assigned to the user.

NewPassword

In

New Password.