Partager via


ClearPasswordQueue Method

Clears all outstanding password operations in the password queue and writes the entries to the history table. To use this method, you must be logged on as a member of the MIISAdmins security group.

mof
string ClearPasswordQueue();

Parameters

None

Name : ClearPasswordQueue

Return Value

string

A string that contains the final status of the method. The return value can be one of the values that are listed in WMI Provider Return Strings, or one of the following values.

Name Description

success

The password change histories that have end times that are earlier than the specified time were successfully deleted from the server.

access-denied

The user who is running this method is not a member of the Microsoft Forefront Identity Manager 2010 (FIM) security groups. Verify that the user is a member of one of these groups.

Remarks

To clear the password change history log, run this method before you run the ClearPasswordHistory Method. If you run this method after you run the ClearPasswordHistory Method, any pending password change logs are then moved to the history log.

Requirements

Product

Forefront Identity Manager Synchronization Service 2010

MOF

Mmswmi.mof

See Also

Reference

MIIS_Server Class
ClearPasswordHistory Method

Concepts

Methods
WMI Provider Reference