Share via


FPCAccounts collection

Applies to: desktop apps only

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.

Ff824042.bkbutton(en-us,VS.85).png Click here to see the Forefront TMG object hierarchy.

Members

The FPCAccounts collection has these types of members:

  • Methods
  • Properties

Methods

The FPCAccounts collection has these 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 has these properties.

Property Access type Description

_NewEnum

Read-only

Gets an enumerator object for the collection.

Count

Read-only

Gets the number of FPCAccount objects in the collection.

 

Interfaces for C++ Programming

This collection implements the IFPCAccounts interface.

Requirements

Minimum supported client

Windows Vista, None supported

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

See also

COM Objects

 

 

Build date: 7/12/2010