IFaxJob::get_UserName method (faxcom.h)

The IFaxJob::get_UserName property is a null-terminated string that contains the name of the user who submitted the fax job to the job queue. The IFaxJob::get_UserName property applies only to outgoing fax transmissions.

This property is read-only.

Syntax

HRESULT get_UserName(
  BSTR *pVal
);

Parameters

pVal

Return value

None

Remarks

You can use the IFaxJob::get_UserName property to retrieve the name of the person who initiated the fax job.

IFaxJob::get_UserName allocates the memory required for the buffer pointed to by the pVal parameter. The client application must call the SysFreeString function to deallocate the resources associated with this parameter. For more information, see Freeing Fax Resources.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header faxcom.h
DLL Faxcom.dll

See also

Fax Service Client API Interfaces

Fax Service Client API for Windows 2000

IFaxJob

IFaxJob::get_SenderName

IFaxJobs