IPrivilegeServiceGetEffectiveApplicationPrivilegesForAccount Method |
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 (8.0.2.1001)
SyntaxICollection<Guid> GetEffectiveApplicationPrivilegesForAccount(
Guid accountId
)
Function GetEffectiveApplicationPrivilegesForAccount (
accountId As Guid
) As ICollection(Of Guid)
ICollection<Guid>^ GetEffectiveApplicationPrivilegesForAccount(
Guid accountId
)
abstract GetEffectiveApplicationPrivilegesForAccount :
accountId : Guid -> ICollection<Guid>
Parameters
- accountId
- Type: SystemGuid
ID of the account.
Return Value
Type:
ICollectionGuidA collection containing the IDs of the application privileges which are effectively enabled for the user.
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