Ensures that a specified Account Log Pk belongs to one of the Accounts for the authenticated Client.

allowedAccountPks will allow no Accounts to be checked if a zero-length collection is provided - this assumes no Accounts are allowed. To ignore this check entirely, ensure the 'allowedAccountPks' Parameter is a nothing object.

Syntax

finPortalHandler.ValidateAccountLogPk(accountLogPk, [allowedAccountPks])

Parameters

NameTypeOptionalByRefDescription
accountLogPk String The Account Log Pk. This is accepted as a String value as this value could be an encrypted version of the Account Log Pk.
allowedAccountPks List(Of Integer) Optional Client Portals may further restrict which Accounts can be viewed. To ensure filtering at the Portal level is respected, specify a list of allowed Accounts here. If supplied, any Account not in this list will be excluded. If omitted, a value of Nothing is assumed.

Return Value

Boolean

A Boolean value indicating success.

Member of:
finPortalHandler
Namespace:
Intersoft.finSupport6
Assembly:
finSupport6, Version=6.0.3
Target Framework:
.NET 9.0