IAccountsProviderPopulateLocalLogOnContext Method

Populates a LocalLogOnContext, used by subsequent steps in the logon sequence. See remarks.

Namespace:  Dundas.BI.AccountServices.Extensibility
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
void PopulateLocalLogOnContext(
	LocalLogOnContext context
)

Parameters

context
Type: Dundas.BI.AccountServices.ExtensibilityLocalLogOnContext
The logon context.
Remarks
The logon sequence proceeds as follows:
  1. PopulateLocalLogOnContext(LocalLogOnContext) is called so that the provider can find the account associated with the provided credentials, and populate that information in the provided context. If no account is found, the context instance should be left as-is, with a value of for the AccountId property.

    If an account associated with the provided credentials is found (regardless of whether the credentials are valid, PopulateLocalLogOnContext(LocalLogOnContext) should assign values to the following LocalLogOnContext properties: AccountId, FailedLogOnCount, and LockedUntil. Additionally, the ProviderData dictionary may be used to pass information retrieved in PopulateLocalLogOnContext(LocalLogOnContext) to the ValidateLocalUserLogOnCredentials(LocalLogOnContext) implementation.

  2. The application uses information from the context to perform additional validation (such as checking the status of account lockout).
  3. ValidateLocalUserLogOnCredentials(LocalLogOnContext) is called by the application, allowing the provider to perform further validation of the credentials, such as password validation.
See Also