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 |
---|---|
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. |
Properties
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.
Requirements
Client | Requires Windows 7 or Windows Vista. |
Server | Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2. |
Version | Requires Forefront Threat Management Gateway (TMG) 2010. |
IDL | Declared in Msfpccom.idl. |
See Also
Send comments about this topic to Microsoft
Build date: 6/30/2010