IPrivilegeServiceGetApplicationPrivilegesForAccount Method (Guid)

Note: This API is now obsolete.

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
[ObsoleteAttribute("Use the override which accepts a tenant ID")]
ICollection<PrivilegeAssignment> GetApplicationPrivilegesForAccount(
	Guid accountId
)

Parameters

accountId
Type: SystemGuid
The ID of the account.

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