IPrivilegeServiceGetApplicationPrivilegesForAccount Method (Guid, NullableGuid)

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 (24.4.0.1000)
Syntax
ICollection<PrivilegeAssignment> GetApplicationPrivilegesForAccount(
	Guid accountId,
	Guid? tenantId
)

Parameters

accountId
Type: SystemGuid
The ID of the account.
tenantId
Type: SystemNullableGuid
The ID of the tenant under whose context the privileges should be computed.

Return Value

Type: 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