Open this page in the API Guide

ICustomAttributeService.GetEffectiveValuesForAccount Method (Guid, Nullable<Guid>)

Retrieve the effective custom attribute values for the specified account in the context of the specified tenant.

Namespace:  Dundas.BI.AccountServices
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
IDictionary<Guid, CustomAttributeValue> GetEffectiveValuesForAccount(
	Guid accountId,
	Guid? tenantId
)

Parameters

accountId
Type: System.Guid
The ID of the account.
tenantId
Type: System.Nullable<Guid>
The ID of the tenant, or null to specify that no tenant should be considered.

Return Value

Type: IDictionary<Guid, CustomAttributeValue>
A dictionary containing all effective custom attributes of the account with the specified ID having the ID of the custom attribute as the key and the corresponding CustomAttributeValue object as the value.
Exceptions
ExceptionCondition
ArgumentExceptionaccountId or tenantId is Empty.
NotFoundExceptionThe account or tenant with the specified ID was not found.
NoPrivilegeException The caller is not a system administrator or tenant administrator for the tenant associated with the account.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also