IAccountServiceRemoveAccountFromTenants Method |
Namespace: Dundas.BI.AccountServices
IDictionary<Guid, bool> RemoveAccountFromTenants( Guid accountId, ICollection<Guid> tenantIds )
Exception | Condition |
---|---|
ArgumentException | accountId. -or- tenantIds is empty. -or- At least one tenant ID is Empty. |
NotFoundException | The specified account or at least one of the specified tenants does not exist. |
FeatureNotEnabledException | The multi-tenancy features of the application are not enabled. |
NotSupportedException | The application's custom accounts provider is read-only or doesn't implement IAccountsProvider3. |
NoPrivilegeException | The caller does not have system administration privileges and is not a tenant administrator for the specified tenants. |
InvalidSessionException | The caller context is not associated with a valid session. |