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.

Methods

The FPCAccounts collection defines the following methods.

Method Description

Add

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

Item

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

Refresh

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

Remove

Removes the specified FPCAccount object from the collection.

RemoveAll

Removes all of the FPCAccount objects from the collection.

Properties

The FPCAccounts collection defines the following properties.

Property Description

_NewEnum

Gets an enumerator object for the collection.

Count

Gets the number of FPCAccount objects in the collection.

Interfaces for C++ Programming

This collection implements the IFPCAccounts interface.

Requirements

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

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.