Platform SDK: TAPI |
Gets the agent user name, which is the same as the operating system user login or e-mail name.
HRESULT get_User( BSTR *ppUser );
Value | Meaning |
---|---|
S_OK | Method succeeded. |
E_POINTER | The ppUser parameter is not a valid pointer. |
E_OUTOFMEMORY | Insufficient memory exists to perform the operation. |
The application must free the memory allocated for the ppUser parameter through SysFreeString when the variable is no longer needed.
Windows NT/2000: Requires Windows 2000.
Version: Requires TAPI 3.0 or later.
Header: Declared in Tapi3.h.
Library: Use T3iid.lib.