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
- Inherits ERUCES::TEPrincipalInfo
Static Public Attributes
| Type | Name | Description |
|---|---|---|
| _TESTD string | CLASSNAME |
Public Member Functions
| Member | Description |
|---|---|
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. |
void setUserName(const _TESTD string &strName) | The setUserName method sets a Windows username. |
const _TESTD string getUserName() const | The getUserName method retrieves the Windows username. |
TEObject * clone() const | The clone method clones a TEWindowsPrincipalInfo object. |
const _TESTD string getClassName() const | The 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
| Parameter | Description |
|---|---|
strName | A 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.