IPrivilegeServiceGetEffectiveApplicationPrivilegesForAccount Method (Guid, NullableGuid)

Retrieve effective application privileges of an account.

Namespace:  Dundas.BI.AccountServices
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax
ICollection<Guid> GetEffectiveApplicationPrivilegesForAccount(
	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: ICollectionGuid
A collection containing the IDs of the application privileges which are effectively enabled for the user.
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