Microsoft Internet Security and Acceleration Server 2004 SDK

IFPCAccounts::Add[C++]

FPCAccounts.Add [Visual Basic]

[C++]

The Add method creates a new FPCAccount object in the collection and returns a reference to it.

HRESULT Add(
  BSTR Account,
  IFPCAccount** ppNewAccount
);

Parameters

Account
[in] Required. BSTR that specifies the account name. The account name can be specified in the domain\user-name format.
ppNewAccount
[out] Address of an interface pointer that on return points to the new IFPCAccount interface created.

Return Values

This method can return one of the following:

[Visual Basic]

The Add method creates a new FPCAccount object in the collection and returns a reference to it.

Function Add( _
  ByVal Account As String _
) As FPCAccount

Parameters

Account
[in] Required. String that specifies the account name. The account name can be specified in the domain\user-name format.

Return Values

This method returns a reference to an FPCAccount object if successful. Otherwise, an error is raised that can be intercepted by using an error handler.

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration Server 2004 Administration Library.

See Also

FPCAccounts