IPrivilegeServiceGetApplicationPrivilegesForAccount Method |
Retrieve assigned application privileges of an account including inherited privileges.
Namespace:
Dundas.BI.AccountServices
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (8.0.2.1001)
SyntaxICollection<PrivilegeAssignment> GetApplicationPrivilegesForAccount(
Guid accountId
)
Function GetApplicationPrivilegesForAccount (
accountId As Guid
) As ICollection(Of PrivilegeAssignment)
ICollection<PrivilegeAssignment^>^ GetApplicationPrivilegesForAccount(
Guid accountId
)
abstract GetApplicationPrivilegesForAccount :
accountId : Guid -> ICollection<PrivilegeAssignment>
Parameters
- accountId
- Type: SystemGuid
ID of the account.
Return Value
Type:
ICollectionPrivilegeAssignmentCollection of application privilege assignment of the account.
Exceptions| Exception | Condition |
|---|
| ArgumentException | accountId is Empty. |
| NotFoundException | The 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. |
| InvalidSessionException | The caller context is not associated with a valid session. |
See Also