IPrivilegeServiceGetApplicationPrivilegesForAccount(Guid, NullableGuid) Method

Retrieve assigned application privileges for an account including inherited privileges.

Namespace: Dundas.BI.AccountServices
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
ICollection<PrivilegeAssignment> GetApplicationPrivilegesForAccount(
	Guid accountId,
	Guid? tenantId
)

Parameters

accountId  Guid
The ID of the account.
tenantId  NullableGuid
The ID of the tenant under whose context the privileges should be computed.

Return Value

ICollectionPrivilegeAssignment
A collection of application privilege assignments for the account.
Exceptions
ExceptionCondition
ArgumentExceptionaccountId or tenantId is Empty.
NotFoundExceptionThe account with the specified ID does not exist.
NoPrivilegeException

The caller does not have system administration privileges.

-or-

The account is associated with a tenant, and the caller does not have administration privileges for that tenant.

InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also