SignOn - Teradata Meta Data Services

Teradata Meta Data Services Programmer Guide

Teradata Meta Data Services
Release Number
English (United States)
Last Update
Product Category
Teradata Tools and Utilities



The CMetaRepository class SignOn function allows multiple users to sign on to MDS. An MDS username and password are required.


SignOn can be called in replace of Initialize. If not previously initialized, SignOn will set up the connection to the MDS repository database. The connection remains until DeInitialize is called or the thread or process terminates. Applications should always call the Deinitialize function before terminating to ensure that the database connection is terminated properly.

For a multi-threaded application, each thread must call Initialize or SignOn and each thread will have a separate connection to the MDS Repository database.

If SignOn is issued for multiple users, you must set the CallerName in the object before using a CMetaObject function to indicate which user’s permission to apply for the function call.


HRESULT SignOn(LPCTSTR strUser, LPCTSTR strPassword);