FPCAccounts Collection

The FPCAccounts collection holds a group of FPCAccount objects. You can use this collection to define a user set that can be associated with a policy rule. When a user set is associated with a policy rule, it can be configured to include or exclude the accounts defined in it. For example, you can apply a policy rule to "all users except John," by associating a user set that is defined with the account for the Everyone group and configured as "included," and then adding a user set that is defined with John's account and configured as "excluded."

This collection is accessed through the Accounts property of an FPCUserSet object, and through the DomainGroups property of an FPCVpnConfiguration object.

Click here to see the Forefront TMG object hierarchy.


The FPCAccounts collection defines the following methods.

Method Description


Creates a new FPCAccount object in the collection and returns a reference to it.


Retrieves the requested FPCAccount object (IFPCAccount interface in C++) from the collection.


Reads the values of all the properties of the collection and its elements from persistent storage, discarding any changes that were not saved.


Removes the specified FPCAccount object from the collection.


Removes all of the FPCAccount objects from the collection.


The FPCAccounts collection defines the following properties.

Property Description


Gets an enumerator object for the collection.


Gets the number of FPCAccount objects in the collection.

Interfaces for C++ Programming

This collection implements the IFPCAccounts interface.


Client Requires Windows Vista or Windows XP.
Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).

Declared in Msfpccom.idl.

See Also

COM Objects

Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.