Partager via


FaxAccountSet.AddAccount method

Adds a fax account to the fax server and returns the new IFaxAccount object.

Syntax

FaxAccountSet.AddAccount( _
  ByVal bstrAccountName As String _
) As IFaxAccount

Parameters

bstrAccountName [in]

Type: String

Specifies a null-terminated string that contains a name for the new account.

Return value

Type: IFaxAccount**

The address of a pointer to an IFaxAccount object.

Remarks

bstrAccountName must be of the form <domainName>\<username> or just <username> for local users.

When the new account is returned, all its values except the name are set to defaults.

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
FaxComex.h
DLL
Fxscomex.dll

See also

FaxAccountSet

IFaxAccountSet