Skip to main content

ERUCES::TEWindowsPrincipalInfo

#include <tewinprincipal.h>

The TEWindowsPrincipalInfo class represents a user authenticated by Windows-based authentication protocols.

This class is derived from the TEPrincipalInfo class.

Inheritance

Static Public Attributes

TypeNameDescription
_TESTD stringCLASSNAME

Public Member Functions

MemberDescription
TEWindowsPrincipalInfo()The TEWindowsPrincipalInfo constructor is the default class constructor.
TEWindowsPrincipalInfo(const TEWindowsPrincipalInfo &)The TEWindowsPrincipalInfo constructor copies a TEWindowsPrincipalInfo object.
~TEWindowsPrincipalInfo()The TEWindowsPrincipalInfo destructor is the class destructor.
const _TESTD string getPrincipalName() constThe getPrincipalName method retrieves the principal name.
void setUserName(const _TESTD string &strName)The setUserName method sets a Windows username.
const _TESTD string getUserName() constThe getUserName method retrieves the Windows username.
TEObject * clone() constThe clone method clones a TEWindowsPrincipalInfo object.
const _TESTD string getClassName() constThe getClassName method gets a TEWindowsPrincipalInfo object's class name.

Member Function Documentation

TEWindowsPrincipalInfo()

The TEWindowsPrincipalInfo constructor is the default class constructor.

TEWindowsPrincipalInfo(const TEWindowsPrincipalInfo &)

The TEWindowsPrincipalInfo constructor copies a TEWindowsPrincipalInfo object.

~TEWindowsPrincipalInfo()

The TEWindowsPrincipalInfo destructor is the class destructor.

const _TESTD string getPrincipalName() const

The getPrincipalName method retrieves the principal name.

Returns: Returns a string representing the principal name.

void setUserName(const _TESTD string &strName)

The setUserName method sets a Windows username.

Parameters

ParameterDescription
strNameA string representing the username to be set.

const _TESTD string getUserName() const

The getUserName method retrieves the Windows username.

Returns: Returns a string representing the username.

TEObject * clone() const

The clone method clones a TEWindowsPrincipalInfo object.

Returns: Returns a cloned TEWindowsPrincipalInfo object.

const _TESTD string getClassName() const

The getClassName method gets a TEWindowsPrincipalInfo object's class name.

Returns: Returns a string representing the class name of a TEWindowsPrincipalInfo object.