A Sandcastle Documented Class Library

# IAccountsProvider UpdateLogOnTimestampAndCount Method

Note: This API is now obsolete.

Updates the logon timestamp and logon count of a LocalUserAccount or a WindowsUserAccount.

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

    [ObsoleteAttribute("Use IAccountsProvider2.UpdateDynamicAccountProperties")]
    void UpdateLogOnTimestampAndCount(
    	Guid accountId,
    	DateTime logOnTimestamp
    )

    <ObsoleteAttribute("Use IAccountsProvider2.UpdateDynamicAccountProperties")>
    Sub UpdateLogOnTimestampAndCount (
    	accountId As Guid,
    	logOnTimestamp As DateTime
    )

    [ObsoleteAttribute(L"Use IAccountsProvider2.UpdateDynamicAccountProperties")]
    void UpdateLogOnTimestampAndCount(
    	Guid accountId,
    	DateTime logOnTimestamp
    )

    [<ObsoleteAttribute("Use IAccountsProvider2.UpdateDynamicAccountProperties")>]
    abstract UpdateLogOnTimestampAndCount :
            accountId : Guid *
            logOnTimestamp : DateTime -> unit

#### Parameters

accountId
  Type: System
  Guid
  The ID of the account to update.
logOnTimestamp
  Type: System
  DateTime
  The logon timestamp (UTC).

Remarks

Notes to Implementers
If keeping track of the last logon time and number of logons is not required, this method may have an empty implementation.

Notes to Implementers
This method should not throw any exceptions.

If IAccountsProvider2 is implemented, this method will never be called.
See Also

#### Reference

IAccountsProvider Interface
Dundas.BI.AccountServices.Extensibility Namespace