A Sandcastle Documented Class Library

# ILogOnService CleanupExpiredTokens Method

Clean up the expired password reset and logon tokens. The tokens which have a "valid until" date earlier than expiryDate will be removed.

Namespace: Dundas.BI.AccountServices
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    void CleanupExpiredTokens(
    	DateTime expiryDate
    )

    Sub CleanupExpiredTokens (
    	expiryDate As DateTime
    )

    void CleanupExpiredTokens(
    	DateTime expiryDate
    )

    abstract CleanupExpiredTokens :
            expiryDate : DateTime -> unit

#### Parameters

expiryDate
  Type: System
  DateTime
  The expiry date for clean up.

Exceptions

Exception | Condition
--- | ---
ArgumentException | expiryDate does not have a specified kind.
NoPrivilegeException | The caller does not have administrative privileges.
InvalidSessionException | The caller context is not associated with a valid session.

See Also

#### Reference

ILogOnService Interface
Dundas.BI.AccountServices Namespace