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

SuperUserLogon

Purpose

SuperUserLogon returns an indication if the user given by strUser is currently logged onto MDS as a superuser.

Description

If strUser is NULL, the return value indicates if the first user to logon to MDS is a superuser.

If strUser is not NULL then

  • if the name is found in the list of currently logged on users, that user's superuser status is returned.
  • If the name is not found in the list of currently logged on users, a value of false is returned.
  • Syntax

    bool SuperUserlogon(LPCTSTR strUser);
     

    Argument

    In/Out

    Description

    strUser

    In

    Name of user to query; if NULL, uses name of first user logon