FPCAccounts.Item
Method
Gets the given FPCAccount
object from the collection.
VBScript Syntax[VBScript]
[ vItem = ] FPCAccounts.Item( vIndex )
C++ Syntax[C++]
HRESULT Item(
VARIANT vIndex,
IFPCAccount **pvItem
);
Parameters
- vIndex
- Required. Name or one-based index of the object to retrieve.
Specified in domain\accountname format.
Return Values
- vItem
- If successful, gets a reference to an object of type
FPCAccount; otherwise:
- In C++, returns an error code and a null object.
- In scripting languages and in Visual Basic, an error is raised
and can be intercepted by using an error handler.
Remarks
The vIndex parameter is in the form of an index or a
name. For example, the following code specifies an account by name
in domain\accountname format.
FPCAccounts.Item("africa\john")
Applies To
FPCAccounts