IAccountsProvider3AddAccountToTenants Method |
Adds an account to the specified tenants.
Namespace:
Dundas.BI.AccountServices.Extensibility
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax IDictionary<Guid, bool> AddAccountToTenants(
Guid accountId,
ICollection<Guid> tenantIds
)
Function AddAccountToTenants (
accountId As Guid,
tenantIds As ICollection(Of Guid)
) As IDictionary(Of Guid, Boolean)
IDictionary<Guid, bool>^ AddAccountToTenants(
Guid accountId,
ICollection<Guid>^ tenantIds
)
abstract AddAccountToTenants :
accountId : Guid *
tenantIds : ICollection<Guid> -> IDictionary<Guid, bool>
Parameters
- accountId
- Type: SystemGuid
The ID of the account. - tenantIds
- Type: System.Collections.GenericICollectionGuid
A collection containing the IDs of all tenants to which the account should be added.
Return Value
Type:
IDictionaryGuid,
Boolean
A dictionary representing the result. The keys are tenant IDs. The values are Booleans indicating whether the account
was successfully added to the corresponding tenant. If the account is already a member of the tenant, the value of the
Boolean should be
.
See Also